PHP Class Flake\Core\Collection

Inheritance: extends FLObject, implements Iterator
Show file Open project: jeromeschneider/baikal Class Usage Examples

Protected Properties

Property Type Description
$aCollection
$aMeta

Public Methods

Method Description
__call ( $sName, $aArguments )
count ( )
current ( )
each ( )
first ( )
flush ( )
fromArray ( $aData )
getForKey ( $sKey )
isAtFirst ( )
isAtLast ( )
isEmpty ( )
key ( )
keys ( )
last ( )
map ( $sFunc )
next ( )
prev ( )
push ( &$mMixed )
remove ( $sKey )
reset ( )
rewind ( )
toArray ( )
valid ( )
walk ( $sFunc, $aParams = [] )

Protected Methods

Method Description
newCollectionLikeThisOne ( ) # This abstraction is useful because of CollectionTyped

Method Details

__call() public method

public __call ( $sName, $aArguments )

count() public method

public count ( )

current() public method

public current ( )

each() public method

public each ( )

first() public method

public first ( )

flush() public method

public flush ( )

fromArray() static public method

static public fromArray ( $aData )

getForKey() public method

public getForKey ( $sKey )

isAtFirst() public method

public isAtFirst ( )

isAtLast() public method

public isAtLast ( )

isEmpty() public method

public isEmpty ( )

key() public method

public key ( )

keys() public method

public keys ( )

last() public method

public last ( )

map() public method

public map ( $sFunc )

newCollectionLikeThisOne() protected method

# This abstraction is useful because of CollectionTyped
protected newCollectionLikeThisOne ( )

next() public method

public next ( )

prev() public method

public prev ( )

push() public method

public push ( &$mMixed )

remove() public method

public remove ( $sKey )

reset() public method

public reset ( )

rewind() public method

public rewind ( )

toArray() public method

public toArray ( )

valid() public method

public valid ( )

walk() public method

public walk ( $sFunc, $aParams = [] )

Property Details

$aCollection protected property

protected $aCollection

$aMeta protected property

protected $aMeta