public function __construct($title) { parent::__construct('items'); $this->setTitle($title); }
public function __construct($title = null, $imgURL = null) { parent::__construct('app'); $this->setName($title); $this->setIcon($imgURL); }