Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Application_Module_Bootstrap Class Reference

Public Member Functions

 __construct ($application)
 Constructor.
 
 initResourceLoader ()
 Ensure resource loader is loaded.
 
 getAppNamespace ()
 Get default application namespace.
 
 getModuleName ()
 Retrieve module name.
 
- Public Member Functions inherited from Zend_Application_Bootstrap_Bootstrap
 __construct ($application)
 Constructor.
 
 run ()
 Run the application.
 
 setResourceLoader (Zend_Loader_Autoloader_Resource $loader)
 Set module resource loader.
 
 getResourceLoader ()
 Retrieve module resource loader.
 
 getAppNamespace ()
 Get application namespace (used for module autoloading)
 
 setAppNamespace ($value)
 Set application namespace (for module autoloading)
 
- Public Member Functions inherited from Zend_Application_Bootstrap_BootstrapAbstract
 __construct ($application)
 Constructor.
 
 setOptions (array $options)
 Set class state.
 
 getOptions ()
 Get current options from bootstrap.
 
 hasOption ($key)
 Is an option present?
 
 getOption ($key)
 Retrieve a single option.
 
 mergeOptions (array $array1, $array2=null)
 Merge options recursively.
 
 getClassResources ()
 Get class resources (as resource/method pairs)
 
 getClassResourceNames ()
 Get class resource names.
 
 registerPluginResource ($resource, $options=null)
 Register a new resource plugin.
 
 unregisterPluginResource ($resource)
 Unregister a resource from the bootstrap.
 
 hasPluginResource ($resource)
 Is the requested plugin resource registered?
 
 getPluginResource ($resource)
 Get a registered plugin resource.
 
 getPluginResources ()
 Retrieve all plugin resources.
 
 getPluginResourceNames ()
 Retrieve plugin resource names.
 
 setPluginLoader (Zend_Loader_PluginLoader_Interface $loader)
 Set plugin loader for loading resources.
 
 getPluginLoader ()
 Get the plugin loader for resources.
 
 setApplication ($application)
 Set application/parent bootstrap.
 
 getApplication ()
 Retrieve parent application instance.
 
 getEnvironment ()
 Retrieve application environment.
 
 setContainer ($container)
 Set resource container.
 
 getContainer ()
 Retrieve resource container.
 
 hasResource ($name)
 Determine if a resource has been stored in the container.
 
 getResource ($name)
 Retrieve a resource from the container.
 
 __get ($prop)
 Implement PHP's magic to retrieve a ressource in the bootstrap.
 
 __isset ($prop)
 Implement PHP's magic to ask for the existence of a ressource in the bootstrap.
 
 bootstrap ($resource=null)
 Bootstrap individual, all, or multiple resources.
 
 __call ($method, $args)
 Overloading: intercept calls to bootstrap<resourcename>() methods.
 

Protected Attributes

 $_moduleName
 
- Protected Attributes inherited from Zend_Application_Bootstrap_Bootstrap
 $_appNamespace = false
 
 $_resourceLoader
 
- Protected Attributes inherited from Zend_Application_Bootstrap_BootstrapAbstract
 $_application
 
 $_classResources
 
 $_container
 
 $_environment
 
 $_optionKeys = array()
 
 $_options = array()
 
 $_pluginLoader
 
 $_pluginResources = array()
 
 $_run = array()
 
 $_started = array()
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Application_Bootstrap_BootstrapAbstract
 _bootstrap ($resource=null)
 Bootstrap implementation.
 
 _executeResource ($resource)
 Execute a resource.
 
 _loadPluginResource ($resource, $options)
 Load a plugin resource.
 
 _markRun ($resource)
 Mark a resource as having run.
 
 _resolvePluginResourceName ($resource)
 Resolve a plugin resource name.
 

Constructor & Destructor Documentation

__construct (   $application)

Constructor.

Parameters
Zend_Application | Zend_Application_Bootstrap_Bootstrapper$application
Returns
void

Implements Zend_Application_Bootstrap_Bootstrapper.

Member Function Documentation

getAppNamespace ( )

Get default application namespace.

Proxies to getModuleName(), and returns the current module name

Returns
string
getModuleName ( )

Retrieve module name.

Returns
string
initResourceLoader ( )

Ensure resource loader is loaded.

Returns
void

Member Data Documentation

$_moduleName
protected