public function __construct($name, $url, $title = null) { parent::__construct($name); $this->url = $url; $this->title = $title; }