\Zend_Loader_Autoloader_Resource
Resource loader
- Copyright: Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Loader_Autoloader_Resource
implements
Zend_Loader_Autoloader_Interface
{
- // members
- protected $_basePath;
- protected array $_components = ;
- protected $_defaultResourceType;
- protected $_namespace;
- protected array $_resourceTypes = ;
- // methods
- public void __construct()
- public mixed __call()
- public False getClassPath()
- public mixed autoload()
- public Zend_Loader_Autoloader_Resource setOptions()
- public Zend_Loader_Autoloader_Resource setNamespace()
- public string getNamespace()
- public Zend_Loader_Autoloader_Resource setBasePath()
- public string getBasePath()
- public Zend_Loader_Autoloader_Resource addResourceType()
- public Zend_Loader_Autoloader_Resource addResourceTypes()
- public Zend_Loader_Autoloader_Resource setResourceTypes()
- public array getResourceTypes()
- public bool hasResourceType()
- public Zend_Loader_Autoloader_Resource removeResourceType()
- public Zend_Loader_Autoloader_Resource clearResourceTypes()
- public Zend_Loader_Autoloader_Resource setDefaultResourceType()
- public string|null getDefaultResourceType()
- public load()
Hierarchy
Implements
Members
protected
- $_basePath — string
- $_components — array
- $_defaultResourceType — string
- $_namespace — string
- $_resourceTypes — array
Methods
public
- __construct() — Constructor
- __call() — Overloading: methods
- addResourceType() — Add resource type
- addResourceTypes() — Add multiple resources at once
- autoload() — Attempt to autoload a class
- clearResourceTypes() — Clear all resource types
- getBasePath() — Get base path to this set of resources
- getClassPath() — Helper method to calculate the correct class path
- getDefaultResourceType() — Get default resource type to use when calling load()
- getNamespace() — Get namespace this autoloader handles
- getResourceTypes() — Retrieve resource type mappings
- hasResourceType() — Is the requested resource type defined?
- load() — Object registry and factory
- removeResourceType() — Remove the requested resource type
- setBasePath() — Set base path for this set of resources
- setDefaultResourceType() — Set default resource type to use when calling load()
- setNamespace() — Set namespace that this autoloader handles
- setOptions() — Set class state from options
- setResourceTypes() — Overwrite existing and set multiple resource types at once