Internal classes

The classes and interfaces in this group are contained in the c-code of ext/SPL. More...

Files

file  appenditerator.inc
file  cachingiterator.inc
file  emptyiterator.inc
file  filteriterator.inc
file  infiniteiterator.inc
file  iteratoriterator.inc
file  limititerator.inc
file  norewinditerator.inc
file  outeriterator.inc
file  parentiterator.inc
file  recursivecachingiterator.inc
file  recursivefilteriterator.inc
file  recursiveiterator.inc
file  recursiveiteratoriterator.inc
file  recursiveregexiterator.inc
file  regexiterator.inc
file  seekableiterator.inc
file  spl.php
file  splfileobject.inc
file  splobjectstorage.inc

Classes

class  AppendIterator
 Iterator that iterates over several iterators one after the other. More...
class  ArrayIterator
 An Array iterator. More...
class  ArrayObject
 An Array wrapper. More...
class  BadFunctionCallException
 Exception thrown when a function call was illegal. More...
class  BadMethodCallException
 Exception thrown when a method call was illegal. More...
interface  Countable
 This Interface allows to hook into the global count() function. More...
class  DirectoryIterator
 Directory iterator. More...
class  DomainException
 Exception that denotes a value not in the valid domain was used. More...
class  EmptyIterator
 An empty Iterator. More...
class  InfiniteIterator
 An infinite Iterator. More...
class  InvalidArgumentException
 Exception that denotes invalid arguments were passed. More...
class  IteratorIterator
 Basic Iterator wrapper. More...
class  LengthException
 Exception thrown when a parameter exceeds the allowed length. More...
class  LogicException
 Exception that represents error in the program logic. More...
class  NoRewindIterator
 An Iterator wrapper that doesn't call rewind. More...
class  OutOfBoundsException
 Exception thrown when an illegal index was requested. More...
class  OutOfRangeException
 Exception thrown when an illegal index was requested. More...
class  OverflowException
 Exception thrown to indicate arithmetic/buffer overflow. More...
class  RangeException
 Exception thrown to indicate range errors during program execution. More...
class  RecursiveArrayIterator
 A recursive array iterator. More...
class  RecursiveDirectoryIterator
 recursive directory iterator More...
protocol  < RecursiveFilterIterator >
 Iterator to filter recursive iterators. More...
class  RuntimeException
 Exception thrown for errors that are only detectable at runtime. More...
class  SimpleXMLIterator
 recursive SimpleXML_Element iterator More...
class  SplFileInfo
 File info class. More...
class  SplFileObject
 Object representation for any stream. More...
interface  SplObserver
 Observer of the observer pattern. More...
interface  SplSubject
 Subject to the observer pattern. More...
class  UnderflowException
 Exception thrown to indicate arithmetic/buffer underflow. More...
class  UnexpectedValueException
 Exception thrown to indicate an unexpected value. More...

Functions

 iterator_count (Traversable $it)
 iterator_to_array (Traversable $it, $use_keys=true)
 spl_autoload (string $class_name, string $file_extensions=NULL)
 spl_autoload_call (string $class_name)
 spl_autoload_extensions ($file_extensions)
 spl_autoload_functions ()
 spl_autoload_register (string $autoload_function="spl_autoload", $throw=true)
 spl_autoload_unregister (string $autoload_function="spl_autoload")
 spl_classes ()

Detailed Description

The classes and interfaces in this group are contained in the c-code of ext/SPL.


Function Documentation

iterator_count ( Traversable it  ) 

Count the elements in an iterator.

Since:
PHP 5.1
Returns:
number of elements in an iterator

Definition at line 228 of file spl.php.

00228 {};

iterator_to_array ( Traversable it,
use_keys = true 
)

Copy iterator elements into an array.

Since:
PHP 5.1
Parameters:
it iterator to copy
use_keys whether touse the keys
Returns:
array with elements copied from the iterator

Definition at line 238 of file spl.php.

00238 {};

spl_autoload ( string $  class_name,
string $  file_extensions = NULL 
)

Default implementation for __autoload().

Since:
PHP 5.1
Parameters:
class_name name of class to load
file_extensions file extensions (use defaults if NULL)

Definition at line 166 of file spl.php.

00166 {};

spl_autoload_call ( string $  class_name  ) 

Manual invocation of all registerd autoload functions.

Since:
PHP 5.1
Parameters:
class_name name of class to load

Definition at line 174 of file spl.php.

00174 {};

spl_autoload_extensions ( file_extensions  ) 

Register and return default file extensions for spl_autoload.

Since:
PHP 5.1
Parameters:
file_extensions optional comma separated list of extensions to use in default autoload function. If not given just return the current list.
Returns:
comma separated list of file extensions to use in default autoload function.

Definition at line 185 of file spl.php.

00185 {};

spl_autoload_functions (  ) 

Return all registered autoload functionns.

Since:
PHP 5.1
Returns:
array of all registered autoload functions or false

Definition at line 193 of file spl.php.

00193 {};

spl_autoload_register ( string $  autoload_function = "spl_autoload",
throw = true 
)

Register given function as autoload implementation.

Since:
PHP 5.1
Parameters:
autoload_function name of function or array of object/class and function name to register as autoload function.
throw whether to throw or issue an error on failure.

Definition at line 203 of file spl.php.

00203 {};

spl_autoload_unregister ( string $  autoload_function = "spl_autoload"  ) 

Unregister given function as autoload implementation.

Since:
PHP 5.1
Parameters:
autoload_function name of function or array of object/class and function name to unregister as autoload function.

Definition at line 212 of file spl.php.

00212 {};

spl_classes (  ) 

Return an array of classes and interfaces in SPL.

Returns:
array containing the names of all clsses and interfaces defined in extension SPL

Definition at line 220 of file spl.php.

00220 {};


Generated on Thu Apr 26 01:04:49 2007 for SPL-StandardPHPLibrary by  doxygen 1.5.2