tslib_gmenu_layers Class Reference

Inheritance diagram for tslib_gmenu_layers:

tslib_gmenu tslib_menu List of all members.

Public Member Functions

 extProc_init ()
 extProc_RO ($key)
 extProc_beforeLinking ($key)
 extProc_afterLinking ($key)
 extProc_beforeAllWrap ($item, $key)
 isSetIntval ($in)
 extProc_finish ()
 extCalcBorderWithin ($kind, $integer)

Public Attributes

 $GMENU_fixKey = 'layers'
 $divLayers = Array()
 $WMx = 0
 $WMy = 0
 $WMxyArray = array()
 $WMextraScript = ''
 $WMlastKey = ''
 $WMrestoreScript = ''
 $WMresetSubMenus = ''
 $WMactiveHasSubMenu = ''
 $WMactiveKey = ''
 $WMtheSubMenu
 $WMisSub
 $WMhideCode
 $WMonlyOnLoad = 0
 $WMbordersWithin = array()
 $WMsubIds = array()
 $WMtempStore = array()
 $WMlockPosition_addAccumulated = array()
 $VMmouseoverActions = array()
 $VMmouseoutActions = array()

Detailed Description

Definition at line 84 of file gmenu_layers.php.


Member Function Documentation

tslib_gmenu_layers.extCalcBorderWithin kind,
integer
 

Creates a JavaScript line which corrects the position of the layer based on the constraints in TypoScript property 'bordersWithin'

Parameters:
string Direction to test.
integer The boundary limit in the direction set by $kind. If set then a value is returned, otherwise blank.
Returns:
string JavaScript string for correction of the layer position (if $integer is true)
See also:
extProc_finish(), extProc_init()

Definition at line 444 of file gmenu_layers.php.

tslib_gmenu_layers.extProc_afterLinking key  ) 
 

Processing after linking, basically setting the

-layers for the menu items. Also some more JavaScript code is made.

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

Reimplemented from tslib_gmenu.

Definition at line 205 of file gmenu_layers.php.

tslib_gmenu_layers.extProc_beforeAllWrap item,
key
 

Wrapping the item in a

section if 'relativeToTriggerItem' was set

Parameters:
string The current content of the menu item, $this->I['theItem'], passed along.
integer Pointer to $this->menuArr[$key] where the current menu element record is found
Returns:
string The modified version of $item, going back into $this->I['theItem']

Reimplemented from tslib_gmenu.

Definition at line 240 of file gmenu_layers.php.

tslib_gmenu_layers.extProc_beforeLinking key  ) 
 

Processing before the links are created. This means primarily creating some javaScript code for the management.

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

Reimplemented from tslib_gmenu.

Definition at line 150 of file gmenu_layers.php.

tslib_gmenu_layers.extProc_finish  ) 
 

Putting things together, in particular the JavaScript code needed for the DHTML menu.

Returns:
mixed Returns the value of a call to the parent function, parent.extProc_finish();

Reimplemented from tslib_gmenu.

Definition at line 262 of file gmenu_layers.php.

tslib_gmenu_layers.extProc_init  ) 
 

Creating unique menu id string plus other initialization of internal variables (all prefixed "WM")

Returns:
void

Reimplemented from tslib_gmenu.

Definition at line 116 of file gmenu_layers.php.

tslib_gmenu_layers.extProc_RO key  ) 
 

Processing of mouse-over features depending on whether "freezeMouseover" property is set.

Parameters:
integer Pointer to $this->menuArr[$key] where the current menu element record is found OR $this->result['RO'][$key] where the configuration for that elements RO version is found! Here it is used with the ->WMid to make unique names
Returns:
void

Reimplemented from tslib_gmenu.

Definition at line 134 of file gmenu_layers.php.

tslib_gmenu_layers.isSetIntval in  ) 
 

Returns true if different from '' OR if intval()!=0

Parameters:
string Value to evaluate
Returns:
boolean true if $in is different from '' OR if intval()!=0

Definition at line 253 of file gmenu_layers.php.


Member Data Documentation

tslib_gmenu_layers.$divLayers = Array()
 

Definition at line 89 of file gmenu_layers.php.

tslib_gmenu_layers.$GMENU_fixKey = 'layers'
 

Reimplemented from tslib_menu.

Definition at line 88 of file gmenu_layers.php.

tslib_gmenu_layers.$VMmouseoutActions = array()
 

Definition at line 109 of file gmenu_layers.php.

tslib_gmenu_layers.$VMmouseoverActions = array()
 

Definition at line 108 of file gmenu_layers.php.

tslib_gmenu_layers.$WMactiveHasSubMenu = ''
 

Definition at line 98 of file gmenu_layers.php.

tslib_gmenu_layers.$WMactiveKey = ''
 

Definition at line 99 of file gmenu_layers.php.

tslib_gmenu_layers.$WMbordersWithin = array()
 

Definition at line 104 of file gmenu_layers.php.

tslib_gmenu_layers.$WMextraScript = ''
 

Reimplemented from tslib_menu.

Definition at line 94 of file gmenu_layers.php.

tslib_gmenu_layers.$WMhideCode
 

Definition at line 102 of file gmenu_layers.php.

tslib_gmenu_layers.$WMisSub
 

Definition at line 101 of file gmenu_layers.php.

tslib_gmenu_layers.$WMlastKey = ''
 

Definition at line 95 of file gmenu_layers.php.

tslib_gmenu_layers.$WMlockPosition_addAccumulated = array()
 

Definition at line 107 of file gmenu_layers.php.

tslib_gmenu_layers.$WMonlyOnLoad = 0
 

Definition at line 103 of file gmenu_layers.php.

tslib_gmenu_layers.$WMresetSubMenus = ''
 

Definition at line 97 of file gmenu_layers.php.

tslib_gmenu_layers.$WMrestoreScript = ''
 

Definition at line 96 of file gmenu_layers.php.

tslib_gmenu_layers.$WMsubIds = array()
 

Definition at line 105 of file gmenu_layers.php.

tslib_gmenu_layers.$WMtempStore = array()
 

Definition at line 106 of file gmenu_layers.php.

tslib_gmenu_layers.$WMtheSubMenu
 

Definition at line 100 of file gmenu_layers.php.

tslib_gmenu_layers.$WMx = 0
 

Definition at line 91 of file gmenu_layers.php.

tslib_gmenu_layers.$WMxyArray = array()
 

Definition at line 93 of file gmenu_layers.php.

tslib_gmenu_layers.$WMy = 0
 

Definition at line 92 of file gmenu_layers.php.


The documentation for this class was generated from the following file:
Generated on Fri Apr 7 10:49:38 2006 for TYPO3 by  doxygen 1.4.6