Documentation TYPO3 par Ameos

tslib_gmenu_layers Class Reference

Inheritance diagram for tslib_gmenu_layers:

Inheritance graph
[legend]
Collaboration diagram for tslib_gmenu_layers:

Collaboration graph
[legend]
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)
 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::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.

Referenced by extProc_finish().

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_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_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.

References tslib_menu::getMPvar(), t3lib_div::intInRange(), tslib_menu::isActive(), and tslib_menu::subMenu().

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.

References tslib_menu::getMPvar(), t3lib_div::intInRange(), tslib_menu::isActive(), and tslib_menu::subMenu().

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.

References extCalcBorderWithin(), and isSetIntval().

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.

References extCalcBorderWithin(), and isSetIntval().

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.

References t3lib_div::intExplode().

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.

References t3lib_div::intExplode().

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::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.

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.

Referenced by extProc_finish().


The documentation for this class was generated from the following files:


Généré par L'expert TYPO3 avec  doxygen 1.4.6