Package: Controller\Plugin
Sets up view script search paths on a per-request basis.
Registered view object.
List of options from the database.
Base path to themes directory.
Base web-accesible path to themes.
MVC plugin behaviors class.
Parameters: |
|
---|
Add the appropriate view scripts directories for a given request. This is pretty much the glue between the plugin broker and the View object, since it uses data from the plugin broker to determine what script paths will be available to the view.
Parameters: |
|
---|---|
Returns: | void |
Set up the asset paths for a plugin.
If you’re in a plugin, check in this order: 1. plugin view scripts (only for that plugin) 2. plugin view scripts for other plugins 3. theme view scripts
This means that it needs to add the paths in the reverse order of what needsto be checked first, so theme paths first and then plugin paths.
Parameters: |
|
---|---|
Returns: | void |
Set up the asset paths for the theme.
If you’re in one of the themes, check in this order:1. theme view scripts2. all plugin view scripts
Parameters: |
|
---|---|
Returns: | void |
Add asset paths for a plugin.
Parameters: |
|
---|---|
Returns: | void |
Add a new script path for a plugin to the view.
Parameters: |
|
---|---|
Returns: | void |
Gets the view from the registry.
The initial call to the registry caches the view in this class.
Returns: | Zend_View |
---|
Add the global views from the view scripts directory to the view.
Returns: | void |
---|
Add script and asset paths for a theme to the view.
Parameters: |
|
---|---|
Returns: | void |
Add theme view path for override views for a given plugin.
Parameters: |
|
---|
Retrieve the option from the database that contains the directory of the theme to render.
Parameters: |
|
---|---|
Returns: | string |