Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

tslib_gmenu_foldout Class Reference

Inherits tslib_gmenu.

List of all members.

Public Member Functions

 extProc_init ()
 Initializing, setting internal variables (prefixed WM).
 extProc_beforeLinking ($key)
 Processing before the links are created.
 extProc_afterLinking ($key)
 Processing after linking, basically setting the
-layers for the menu items and possibly wrapping in table, adding bullet images.


Public Attributes

 $GMENU_fixKey = 'foldout'
 $WMarrowNO
 $WMarrowACT
 $WMimagesFlag
 $WMimageHTML
 $WMsubmenu
 $WMtableWrap
 $WM_activeOnLoad = ''


Member Function Documentation

tslib_gmenu_foldout::extProc_afterLinking key  ) 
 

Processing after linking, basically setting the

-layers for the menu items and possibly wrapping in table, adding bullet images.

Parameters:
integer Pointer to $this->menuArr[$key] where the current menu element record is found
Returns:
void

Reimplemented from tslib_gmenu.

Definition at line 134 of file gmenu_foldout.php.

References table().

tslib_gmenu_foldout::extProc_beforeLinking key  ) 
 

Processing before the links are created.

Basically this is setting an onclick handler for clicking the menu item.

Parameters:
integer Pointer to $this->menuArr[$key] where the current menu element record is found
Returns:
void

Reimplemented from tslib_gmenu.

Definition at line 117 of file gmenu_foldout.php.

References tslib_menu::isActive(), and tslib_menu::subMenu().

00117                                           {
00118       $this->I['addATagParams']='';
00119       $this->WMsubmenu = $this->subMenu($this->I['uid']);
00120       if (trim($this->WMsubmenu))   {
00121          $this->I['addATagParams']=' onclick="GF_menu('.$key.');'.($this->mconf['dontLinkIfSubmenu'] ? ' return false;' : '').'"';
00122          if ($this->isActive($this->I['uid'], $this->getMPvar($key)) && $this->mconf['displayActiveOnLoad'])   {  // orig: && $this->WMisSub, changed 210901
00123             $this->WM_activeOnLoad='GF_menu('.$key.');';
00124          }
00125       }
00126    }

tslib_gmenu_foldout::extProc_init  ) 
 

Initializing, setting internal variables (prefixed WM).

Returns:
void

Reimplemented from tslib_gmenu.

Definition at line 96 of file gmenu_foldout.php.

00096                            {
00097       $this->WMarrowNO='';
00098       $this->WMarrowACT='';
00099       $this->WMimagesFlag=0;
00100       $this->WMimageHTML ='';
00101       if (($this->mconf['arrowNO']||$this->mconf['arrowNO.']) && ($this->mconf['arrowACT']||$this->mconf['arrowACT.'])) {
00102          $this->WMarrowNO = $GLOBALS['TSFE']->cObj->getImgResource($this->mconf['arrowNO'],$this->mconf['arrowNO.']);
00103          $this->WMarrowACT = $GLOBALS['TSFE']->cObj->getImgResource($this->mconf['arrowACT'],$this->mconf['arrowACT.']);
00104          if (is_array($this->WMarrowACT) && is_array($this->WMarrowNO)) {
00105             $this->WMimagesFlag=1;
00106          }
00107       }
00108    }


Member Data Documentation

tslib_gmenu_foldout::$GMENU_fixKey = 'foldout'
 

Reimplemented from tslib_menu.

Definition at line 81 of file gmenu_foldout.php.

tslib_gmenu_foldout::$WM_activeOnLoad = ''
 

Definition at line 89 of file gmenu_foldout.php.

tslib_gmenu_foldout::$WMarrowACT
 

Definition at line 84 of file gmenu_foldout.php.

tslib_gmenu_foldout::$WMarrowNO
 

Definition at line 83 of file gmenu_foldout.php.

tslib_gmenu_foldout::$WMimageHTML
 

Definition at line 86 of file gmenu_foldout.php.

tslib_gmenu_foldout::$WMimagesFlag
 

Definition at line 85 of file gmenu_foldout.php.

tslib_gmenu_foldout::$WMsubmenu
 

Definition at line 87 of file gmenu_foldout.php.

tslib_gmenu_foldout::$WMtableWrap
 

Definition at line 88 of file gmenu_foldout.php.


The documentation for this class was generated from the following file:
Generated on Sun Oct 3 01:07:40 2004 for TYPO3core 3.7.0 dev by  doxygen 1.3.8-20040913