TYPO3 API  SVNRelease
Public Member Functions | Public Attributes
tslib_tmenu_layers Class Reference
Inheritance diagram for tslib_tmenu_layers:
Inheritance graph
[legend]
Collaboration diagram for tslib_tmenu_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 83 of file tmenu_layers.php.


Member Function Documentation

tslib_tmenu_layers::extCalcBorderWithin ( kind,
integer 
)

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

Parameters:
stringDirection to test.
integerThe 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 443 of file tmenu_layers.php.

tslib_tmenu_layers::extCalcBorderWithin ( kind,
integer 
)

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

Parameters:
stringDirection to test.
integerThe 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 tmenu_layers.php.

tslib_tmenu_layers::extProc_afterLinking ( key)

Processing after linking, basically setting the

-layers for the menu items. Also some more JavaScript code is made.
Parameters:
integerPointer to $this->menuArr[$key] where the current menu element record is found
Returns:
void

Reimplemented from tslib_tmenu.

Definition at line 204 of file tmenu_layers.php.

tslib_tmenu_layers::extProc_afterLinking ( key)

Processing after linking, basically setting the

-layers for the menu items. Also some more JavaScript code is made.
Parameters:
integerPointer to $this->menuArr[$key] where the current menu element record is found
Returns:
void

Reimplemented from tslib_tmenu.

Definition at line 205 of file tmenu_layers.php.

tslib_tmenu_layers::extProc_beforeAllWrap ( item,
key 
)

Wrapping the item in a

section if 'relativeToTriggerItem' was set
Parameters:
stringThe current content of the menu item, $this->I['theItem'], passed along.
integerPointer 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_tmenu.

Definition at line 239 of file tmenu_layers.php.

tslib_tmenu_layers::extProc_beforeAllWrap ( item,
key 
)

Wrapping the item in a

section if 'relativeToTriggerItem' was set
Parameters:
stringThe current content of the menu item, $this->I['theItem'], passed along.
integerPointer 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_tmenu.

Definition at line 240 of file tmenu_layers.php.

tslib_tmenu_layers::extProc_beforeLinking ( key)

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

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

Reimplemented from tslib_tmenu.

Definition at line 149 of file tmenu_layers.php.

tslib_tmenu_layers::extProc_beforeLinking ( key)

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

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

Reimplemented from tslib_tmenu.

Definition at line 150 of file tmenu_layers.php.

tslib_tmenu_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_tmenu.

Definition at line 261 of file tmenu_layers.php.

tslib_tmenu_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_tmenu.

Definition at line 262 of file tmenu_layers.php.

tslib_tmenu_layers::extProc_init ( )

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

Returns:
void

Reimplemented from tslib_tmenu.

Definition at line 115 of file tmenu_layers.php.

References $GLOBALS, and t3lib_div\intExplode().

tslib_tmenu_layers::extProc_init ( )

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

Returns:
void

Reimplemented from tslib_tmenu.

Definition at line 116 of file tmenu_layers.php.

References $GLOBALS, and t3lib_div\intExplode().

tslib_tmenu_layers::extProc_RO ( key)

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

Parameters:
integerPointer 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_tmenu.

Definition at line 133 of file tmenu_layers.php.

tslib_tmenu_layers::extProc_RO ( key)

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

Parameters:
integerPointer 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_tmenu.

Definition at line 134 of file tmenu_layers.php.

tslib_tmenu_layers::isSetIntval ( in)

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

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

Definition at line 252 of file tmenu_layers.php.

tslib_tmenu_layers::isSetIntval ( in)

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

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

Definition at line 253 of file tmenu_layers.php.


Member Data Documentation

tslib_tmenu_layers::$divLayers = Array()

Definition at line 88 of file tmenu_layers.php.

tslib_tmenu_layers::$GMENU_fixKey = 'layers'

Reimplemented from tslib_menu.

Definition at line 87 of file tmenu_layers.php.

tslib_tmenu_layers::$VMmouseoutActions = array()

Definition at line 108 of file tmenu_layers.php.

tslib_tmenu_layers::$VMmouseoverActions = array()

Definition at line 107 of file tmenu_layers.php.

tslib_tmenu_layers::$WMactiveHasSubMenu = ''

Definition at line 97 of file tmenu_layers.php.

tslib_tmenu_layers::$WMactiveKey = ''

Definition at line 98 of file tmenu_layers.php.

tslib_tmenu_layers::$WMbordersWithin = array()

Definition at line 103 of file tmenu_layers.php.

tslib_tmenu_layers::$WMextraScript = ''

Reimplemented from tslib_menu.

Definition at line 93 of file tmenu_layers.php.

tslib_tmenu_layers::$WMhideCode

Definition at line 101 of file tmenu_layers.php.

tslib_tmenu_layers::$WMisSub

Definition at line 100 of file tmenu_layers.php.

tslib_tmenu_layers::$WMlastKey = ''

Definition at line 94 of file tmenu_layers.php.

tslib_tmenu_layers::$WMlockPosition_addAccumulated = array()

Definition at line 106 of file tmenu_layers.php.

tslib_tmenu_layers::$WMonlyOnLoad = 0

Definition at line 102 of file tmenu_layers.php.

tslib_tmenu_layers::$WMresetSubMenus = ''

Definition at line 96 of file tmenu_layers.php.

tslib_tmenu_layers::$WMrestoreScript = ''

Definition at line 95 of file tmenu_layers.php.

tslib_tmenu_layers::$WMsubIds = array()

Definition at line 104 of file tmenu_layers.php.

tslib_tmenu_layers::$WMtempStore = array()

Definition at line 105 of file tmenu_layers.php.

tslib_tmenu_layers::$WMtheSubMenu

Definition at line 99 of file tmenu_layers.php.

tslib_tmenu_layers::$WMx = 0

Definition at line 90 of file tmenu_layers.php.

tslib_tmenu_layers::$WMxyArray = array()

Definition at line 92 of file tmenu_layers.php.

tslib_tmenu_layers::$WMy = 0

Definition at line 91 of file tmenu_layers.php.


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