
Public Member Functions | |
| addTab ($alias, $title, $block, $template) | |
| getTabs () | |
Protected Attributes | |
| $_tabs = array() | |
Definition at line 35 of file Tabs.php.
| addTab | ( | $ | alias, | |
| $ | title, | |||
| $ | block, | |||
| $ | template | |||
| ) |
Add tab to the container
| string | $title | |
| string | $block | |
| string | $template |
Definition at line 46 of file Tabs.php.
00047 { 00048 00049 if (!$title || !$block || !$template) { 00050 return false; 00051 } 00052 00053 $this->_tabs[] = array( 00054 'alias' => $alias, 00055 'title' => $title 00056 ); 00057 00058 $this->setChild($alias, 00059 $this->getLayout()->createBlock($block, $alias) 00060 ->setTemplate($template) 00061 ); 00062 }
1.5.8