PropertyPath
PropertyPath implements IteratorAggregate, Countable
All Implemented Interfaces:
- IteratorAggregate
- Countable
Constant summary
Methods summary
Modifier and Type | Method |
---|---|
public | __construct ( array pathParts ) |
public | getIterator ( ) |
public | isEmpty ( ) |
public PropertyPathPart | getFirst ( ) |
public PropertyPathPart | getLast ( ) |
public PropertyPathPart [] | toArray ( ) |
public | __toString ( ) |
public static | implodePathParts ( array pathParts ) |
public | count ( ) |
public | createReducedPath ( unknown length ) |
public | reduced ( unknown length ) |
public | fieldReduced ( ) |
public PropertyPath | createExtendedPath ( array pathParts ) |
public | ext ( unknown pathExtExpression ) |
public | fieldExt ( unknown key ) |
public PropertyPath | createArrayFieldExtendedPath ( unknown key ) |
public static PropertyPath | createFromPropertyExpression ( string propertyExpression ) |
public static | createFromPropertyExpressionArray ( array pathPartExpressionArray ) |
public static | createFromArray ( array pathParts ) |
Constants in detail
-
PROPERTY_LEVEL_SEPARATOR
const PROPERTY_LEVEL_SEPARATOR
Methods in detail
-
__construct
public __construct ( array pathParts ) -
getIterator
public getIterator ( ) -
isEmpty
public isEmpty ( ) -
getFirst
PropertyPathPart public getFirst ( )return
-
getLast
PropertyPathPart public getLast ( )return
-
toArray
PropertyPathPart public toArray ( )return
-
__toString
public __toString ( ) -
implodePathParts
public static implodePathParts ( array pathParts ) -
count
public count ( ) -
createReducedPath
public createReducedPath ( unknown length ) -
reduced
public reduced ( unknown length ) -
fieldReduced
public fieldReduced ( ) -
createExtendedPath
-
ext
public ext ( unknown pathExtExpression ) -
fieldExt
public fieldExt ( unknown key ) -
createArrayFieldExtendedPath
-
createFromPropertyExpression
-
createFromPropertyExpressionArray
public static createFromPropertyExpressionArray ( array pathPartExpressionArray ) -
createFromArray
public static createFromArray ( array pathParts )
param
throws