Core::View::arbitTemplateRecursiveIteratorIterator
Class arbitTemplateRecursiveIteratorIterator
Extension of the default SPL RecursiveIteratorIterator to expose the getDepth() method as a public property, because the tempaltes may only access properties, but no methods. Extension of the default SPL RecursiveIteratorIterator to expose the getDepth() method as a public property, because the tempaltes may only access properties, but no methods.
RecursiveIteratorIterator
|
--arbitTemplateRecursiveIteratorIterator
Author(s):
|
Version:
|
$Revision: 1236 $ |
|
License:
|
GPL |
Inherited Constants
|
From RecursiveIteratorIterator (Internal Class):
|
CATCH_GET_CHILD = 16
|
|
CHILD_FIRST = 2
|
|
LEAVES_ONLY = 0
|
|
SELF_FIRST = 1
|
|
Method Summary
|
public mixed |
__get(
$property
)
Magic method wrapping property access
Expose the method return value of getDepth() as 'depth' property. |
Inherited Methods
|
From RecursiveIteratorIterator (Internal Class)
|
|
public RecursiveIteratorIterator |
constructor __construct ( $iterator, [$mode = ], [$flags = ] )
|
|
public void |
beginChildren ( )
|
|
public void |
beginIteration ( )
|
|
public void |
callGetChildren ( )
|
|
public void |
callHasChildren ( )
|
|
public void |
current ( )
|
|
public void |
endChildren ( )
|
|
public void |
endIteration ( )
|
|
public void |
getDepth ( )
|
|
public void |
getInnerIterator ( )
|
|
public void |
getMaxDepth ( )
|
|
public void |
getSubIterator ( [$level = ] )
|
|
public void |
key ( )
|
|
public void |
next ( )
|
|
public void |
nextElement ( )
|
|
public void |
rewind ( )
|
|
public void |
setMaxDepth ( [$max_depth = ] )
|
|
public void |
valid ( )
|
Methods
__get
mixed
__get(
string
$property
)
Magic method wrapping property access
Expose the method return value of getDepth() as 'depth' property. Magic method wrapping property access
Expose the method return value of getDepth() as 'depth' property.
Parameters:
| Name |
Type |
Description |
$property |
string |
|
|