Class SplClassLoader
SplClassLoader implementation that implements the technical interoperability standards for PHP 5.3 namespaces and class names.
http://groups.google.com/group/php-standards/web/final-proposal
// Example which loads classes for the Doctrine Common package in the //
Doctrine\Common namespace. $classLoader = new SplClassLoader('Doctrine\Common',
'/path/to/doctrine'); $classLoader->register();
Author: Jonathan H. Wage <jonwage@gmail.com>
Author: Roman S. Borschel <roman@code-factory.org>
Author: Matthew Weier O'Phinney <matthew@zend.com>
Author: Kris Wallsmith <kris.wallsmith@gmail.com>
Author: Fabien Potencier <fabien.potencier@symfony-project.org>
Located at Ctct/SplClassLoader.php
public
|
#
__construct( string $ns = null, mixed $includePath = null )
Creates a new SplClassLoader that loads classes of the specified namespace. |
public
|
#
setNamespaceSeparator( string $sep )
Sets the namespace separator used by classes in the namespace of this class loader. |
public
|
#
getNamespaceSeparator( )
Gets the namespace seperator used by classes in the namespace of this class loader. |
public
|
#
setIncludePath( string $includePath )
Sets the base include path for all class files in the namespace of this class loader. |
public
string
|
#
getIncludePath( )
Gets the base include path for all class files in the namespace of this class loader. |
public
|
#
setFileExtension( string $fileExtension )
Sets the file extension of class files in the namespace of this class loader. |
public
string
|
|
public
|
|
public
|
|
public
|