Countable Interface Reference
[Internal classes]

This Interface allows to hook into the global count() function. More...

Inheritance diagram for Countable:

Inheritance graph
{ArrayIterator\n|+ ARRAY_AS_PROPS\l+ STD_PROP_LIST\l|+ __construct()\l+ append()\l+ asort()\l+ count()\l+ current()\l+ getArrayCopy()\l+ getFlags()\l+ key()\l+ ksort()\l+ natcasesort()\l+ natsort()\l+ next()\l+ offsetExists()\l+ offsetGet()\l+ offsetSet()\l+ offsetUnset()\l+ rewind()\l+ seek()\l+ setFlags()\l+ uasort()\l+ uksort()\l+ valid()\l}{ArrayObject\n|+ ARRAY_AS_PROPS\l+ STD_PROP_LIST\l|+ __construct()\l+ append()\l+ asort()\l+ count()\l+ exchangeArray()\l+ getArrayCopy()\l+ getFlags()\l+ getIterator()\l+ getIteratorClass()\l+ ksort()\l+ natcasesort()\l+ natsort()\l+ offsetExists()\l+ offsetGet()\l+ offsetSet()\l+ offsetUnset()\l+ setFlags()\l+ setIteratorClass()\l+ uasort()\l+ uksort()\l}{SimpleXMLIterator\n||+ count()\l+ current()\l+ getChildren()\l+ hasChildren()\l+ key()\l+ next()\l+ rewind()\l+ valid()\l}{SplObjectStorage\n|- $index\l- $storage\l|+ attach()\l+ contains()\l+ count()\l+ current()\l+ detach()\l+ key()\l+ next()\l+ rewind()\l+ valid()\l}{RecursiveArrayIterator\n|- $ref\l|+ getChildren()\l+ hasChildren()\l}{SubClasses\n||+ __construct()\l+ current()\l}
[legend]
List of all members.

Public Member Functions

 count ()

Detailed Description

This Interface allows to hook into the global count() function.

Since:
PHP 5.1

Definition at line 562 of file spl.php.


Member Function Documentation

Countable::count (  ) 

Returns:
the number the global function count() should show

Implemented in ArrayObject, ArrayIterator, SimpleXMLIterator, and SplObjectStorage.


The documentation for this interface was generated from the following file:
Generated on Thu Apr 26 01:05:16 2007 for SPL-StandardPHPLibrary by  doxygen 1.5.2