PHP Class Scalr\Model\Collections\ArrayCollection

This is the collection of the AbstractEntity objects
Since: 4.5.2 (13.03.2014)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends ArrayIterato\ArrayIterator
ファイルを表示 Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$totalNumber integer This property is set after use find() method

Public Methods

Method Description
__call ( string $name, array $args ) : AbstractEntity Implements some convenient magic methods
__construct ( array $array = [] ) Constructor
getIterator ( ) : Iterator This method is used for compatibility with IteratorAggregate

Method Details

__call() public method

Implements some convenient magic methods
public __call ( string $name, array $args ) : AbstractEntity
$name string The method name
$args array The arguments
return Scalr\Model\AbstractEntity Returns array of the found entities

__construct() public method

Constructor
public __construct ( array $array = [] )
$array array optional

getIterator() public method

This method is used for compatibility with IteratorAggregate
See also: IteratorAggregate::getIterator()
public getIterator ( ) : Iterator
return Iterator

Property Details

$totalNumber public_oe property

This property is set after use find() method
public int $totalNumber
return integer