public function __construct(AbsCnrComponents $container, $containerPosition = AbsCnrComponents::CNR_BODY, $link, $title = '', $icon = '') { parent::__construct($container, $containerPosition); $this->title = $title; $this->icon = $icon; $this->link = $link; }
public function __construct(CnrTabs $container, $title, $icon = '') { $this->container = $container; $this->title = $title; $this->icon = $icon; parent::__construct($container, CnrTabs::CNR_TAB); }