• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List

E:/E/GEAMP/www/openbiz/openbiz/others/ZendX/JQuery/View/Helper/TabPane.php

00001 <?php
00023 require_once "UiWidgetPane.php";
00024 
00034 class ZendX_JQuery_View_Helper_TabPane extends ZendX_JQuery_View_Helper_UiWidgetPane
00035 {
00044     public function tabPane($id=null, $content='', array $options=array())
00045     {
00046         if(0 === func_num_args()) {
00047             return $this;
00048         }
00049 
00050         $name = '';
00051         if(isset($options['title'])) {
00052             $name = $options['title'];
00053             unset($options['title']);
00054         }
00055 
00056         $this->_addPane($id, $name, $content, $options);
00057         return '';
00058     }
00059 
00070     protected function _addPane($id, $name, $content, array $options=array())
00071     {
00072         $this->view->tabContainer()->addPane($id, $name, $content, $options);
00073     }
00074 }

Generated on Thu Apr 19 2012 17:01:18 for openbiz by  doxygen 1.7.2