Ejemplo n.º 1
0
 /**
  * Records the current state of the 'html' part of the page output
  * @return mixed The current state of the 'html' output
  */
 public function start_capture()
 {
     $sCurrentTabContainer = $this->m_oTabs->GetCurrentTabContainer();
     $sCurrentTab = $this->m_oTabs->GetCurrentTab();
     if (!empty($sCurrentTabContainer) && !empty($sCurrentTab)) {
         $iOffset = $this->m_oTabs->GetCurrentTabLength();
         return array('tc' => $sCurrentTabContainer, 'tab' => $sCurrentTab, 'offset' => $iOffset);
     } else {
         return parent::start_capture();
     }
 }