Yes, copy the constructor from the parent class as is and just add the
additional requirement.
On Apr 30, 2014 10:31 AM, "Matt Friedman" <notifications@github.com> wrote:

> In notification/boardrules.php:
>
> > +	{
> > +		$username = $this->user_loader->get_username($this->get_data('from_user_id'), 'no_profile');
> > +
> > +		return $this->user->lang('BOARDRULES_NOTIFICATION', $username);
> > +	}
> > +
> > +	/**
> > +	* Get the url to this item
> > +	*
> > +	* @return string URL
> > +	*/
> > +	public function get_url()
> > +	{
> > +		$rule_id = ($this->item_id) ? '#' . $this->item_id : '';
> > +
> > +		return $this->phpbb_root_path . 'app.' . $this->php_ext . '/rules' . $rule_id;
>
> Do all the parent arguments need to be re-declared before the constructor
> too?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/phpbb-extensions/boardrules/pull/93/files#r12149223>
> .
>