public function __construct($id, $title) { parent::__construct(); $this->id = $this->template_adapter->escape_attribute($id); $this->title = $title; $this->add_class('tab-pane'); }
public function __construct($type) { parent::__construct(); $this->type = $type; }