PHP Class XeroPHP\Remote\Collection

Inheritance: extends ArrayObject
Exibir arquivo Open project: calcinai/xero-php Class Usage Examples

Protected Properties

Property Type Description
$_associated_objects Object[] todo - 2.x make this more elegant.

Public Methods

Method Description
addAssociatedObject ( $parent_property, Object $object )
remove ( Object $object ) Remove a specific object from the collection
removeAll ( ) Remove all of the values int he collection
removeAt ( $index ) Remove an item at a specific index

Method Details

addAssociatedObject() public method

public addAssociatedObject ( $parent_property, Object $object )
$object Object

remove() public method

Remove a specific object from the collection
public remove ( Object $object )
$object Object

removeAll() public method

Remove all of the values int he collection
public removeAll ( )

removeAt() public method

Remove an item at a specific index
public removeAt ( $index )
$index

Property Details

$_associated_objects protected_oe property

todo - 2.x make this more elegant.
protected Object[],XeroPHP\Remote $_associated_objects
return Object[]