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

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

00001 <?php
00026 require_once "UiWidgetPane.php";
00027 
00037 class ZendX_JQuery_View_Helper_AccordionPane extends ZendX_JQuery_View_Helper_UiWidgetPane
00038 {
00052     public function accordionPane($id=null, $content='', array $options=array())
00053     {
00054         if(0 === func_num_args()) {
00055             return $this;
00056         }
00057 
00058         $name = '';
00059         if(isset($options['title'])) {
00060             $name = $options['title'];
00061             unset($options['title']);
00062         }
00063 
00064         $this->_addPane($id, $name, $content, $options);
00065         return '';
00066     }
00067 
00076     protected function _addPane($id, $name, $content, array $options=array())
00077     {
00078         $this->view->accordionContainer()->addPane($id, $name, $content, $options);
00079     }
00080 }

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