/** * Creates if needed cbTabs object * * @param boolean $outputTabpaneScript * @return cbTabs */ public function &_getCbTabs($outputTabpaneScript = true) { if ($this->_cbtabs === null) { global $_CB_framework; cbimport('cb.tabs'); $this->_cbtabs = new cbTabs(0, $_CB_framework->getUi(), null, $outputTabpaneScript); } if ($outputTabpaneScript) { $this->_cbtabs->outputTabJS(); } return $this->_cbtabs; }