\Zend_Loader
Static methods for loading classes and files.
- Copyright: Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Loader
{
- // methods
- public static void loadClass()
- public static boolean loadFile()
- public static boolean isReadable()
- public static string|false autoload()
- public static void registerAutoload()
- protected static void _securityCheck()
- protected static boolean _includeFile()
Methods
protected
- _includeFile() — Attempt to include() the file.
- _securityCheck() — Ensure that filename does not contain exploits
public
- autoload() — spl_autoload() suitable implementation for supporting class autoloading.
- isReadable() — Returns TRUE if the $filename is readable, or FALSE otherwise.
- loadClass() — Loads a class from a PHP file. The filename must be formatted as "$class.php".
- loadFile() — Loads a PHP file. This is a wrapper for PHP's include() function.
- registerAutoload() — Register {@link autoload()} with spl_autoload()