/** @brief Open the tag. @since 2015-12-27 14:10:46 **/ public function open_tag() { $this->css_class('nav-tab'); if ($this->current) { $this->css_class('nav-tab-active'); } $this->set_attribute('href', $this->url); $this->title($this->title); return parent::open_tag(); }