VCL
[ class tree: VCL ] [ index: VCL ] [ all elements ]

Class: Collection

Source Location: /classes.inc.php

Class Overview

Object
   |
   --Collection

Collection class


Class Details

[line 500]
Collection class

A class to store and manage a list of objects




[ Top ]

Properties

    [none]

Events

    [none]

JS Events

    [none]

Methods

Constants

    [none]

Inherited Properties

Inherited Events

Inherited JS Events

Inherited Methods

Class: Object

Object::__construct
Constructor
Object::className
Returns the name of the object class
Object::classNameIs
Check if the object is from a specific class
Object::classParent
Returns the parent class of the object
Object::inheritsFrom
Check if the object inherits from a specific class
Object::methodExists
Check if a method exists
Object::readProperty
Reads a property from the streams
Object::__get
To virtualize properties
Object::__set
To virtualize properties

Properties



Events



Javascript Events



Methods


constructor __construct [line 505]

Collection __construct( )



Overrides Object::__construct (Constructor)

[ Top ]

integer add [line 516]

integer add( object $item)

Add an item to the list



Parameters:

object   $item   Object to add to the list

[ Top ]

void clear [line 530]

void clear( )

Clears the list



[ Top ]

integer count [line 593]

integer count( )

Return the number of items in the list



[ Top ]

void delete [line 539]

void delete( integer $index)

Delete an item from the list by its index



Parameters:

integer   $index   Index of the item to delete

[ Top ]

void indexof [line 556]

void indexof( object $item)

Finds an item into the list



Parameters:

object   $item   Item to find

[ Top ]

object last [line 602]

object last( )

Return the last element from the collection



[ Top ]

void remove [line 577]

void remove( object $item)

Remove an item from the list



Parameters:

object   $item   Item to delete from the list

[ Top ]



Documentation generated on Tue, 27 Mar 2007 13:33:29 +0200 by phpDocumentor 1.3.1