public function __construct($cell_type, $id = '', $class = '') { parent::__construct($id, $class); if (!isset($this->cell_types[$cell_type])) { $cell_type = 'data'; } $this->cell_type = $this->cell_types[$cell_type]; }
public function __construct($content, $id = '', $class = '') { parent::__construct($id, $class); $this->content = $content; }