Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Loads a local class and executes the instantiation of that class.
array $_defaultClassMap = 'array'
Zend_Loader_PluginLoader_Interface $_resourceLoader = 'null'
string $callbackClass = ''
array $classMap = 'array'
addResourceDirectory(
string $prefix, string $dir
)
:
Add directory to the list of places where to look for resource handlers
getMappedClassName(
string $className
)
:
string
Looks up the supplied call name to its mapped class name
getResourceParser(
resource $resource
)
:
string
Get plugin class that handles this resource
handleResource(
resource $resource
)
:
mixed
Convert resource to a serializable object
loadType(
string $className
)
:
object|false
Load the mapped class type into a callback.
resetMap(
)
:
void
Reset type map
setMapping(
string $asClassName, string $phpClassName
)
:
void
Map PHP class names to ActionScript class names
Allows users to map the class names of there action script classes to the equivelent php class name. Used in deserialization to load a class and serialiation to set the class name of the returned object.
setResourceLoader(
Zend_Loader_PluginLoader_Interface $loader
)
:
Set loader for resource type handlers