
Public Member Functions | |
| __construct ($useCookies) | |
| startPane ($id) | |
| endPane () | |
Static Public Member Functions | |
| static | startTab ($tabText, $paneid) |
| static | endTab () |
Private Attributes | |
| $useCookies = 0 | |
Definition at line 46 of file aliroTabs.php.
| aliroTabs::__construct | ( | $ | useCookies | ) |
Definition at line 49 of file aliroTabs.php.
References $useCookies, and aliroRequest::getInstance().
00049 { 00050 $request = aliroRequest::getInstance(); 00051 $tab_headers = <<<TAB_TAGS 00052 00053 <link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="{$request->getCfg('live_site')}/includes/js/tabs/tab.css" /> 00054 <script type="text/javascript" src="{$request->getCfg('live_site')}/includes/js/tabs/tabpane.js"></script> 00055 00056 TAB_TAGS; 00057 00058 $request->addCustomHeadTag($tab_headers); 00059 $this->useCookies = $useCookies; 00060 }
| aliroTabs::startPane | ( | $ | id | ) |
Definition at line 62 of file aliroTabs.php.
00062 { 00063 echo <<<START_PANE 00064 00065 <div class="tab-page" id="$id"> 00066 <script type="text/javascript"> 00067 var tabPane1 = new WebFXTabPane( document.getElementById( "$id" ), $this->useCookies ) 00068 </script> 00069 00070 START_PANE; 00071 00072 }
| aliroTabs::endPane | ( | ) |
| static aliroTabs::startTab | ( | $ | tabText, | |
| $ | paneid | |||
| ) | [static] |
Definition at line 78 of file aliroTabs.php.
00078 { 00079 echo <<<START_TAB 00080 00081 <div class="tab-page" id="$paneid"> 00082 <h2 class="tab">$tabText</h2> 00083 <script type="text/javascript"> 00084 tabPane1.addTabPage( document.getElementById( "$paneid" ) ); 00085 </script> 00086 00087 START_TAB; 00088 00089 }
| static aliroTabs::endTab | ( | ) | [static] |
aliroTabs::$useCookies = 0 [private] |
1.5.5