Package: Plugin
Connects plugins with Omeka’s model-view-controller system.
Path to the root plugins directory.
View script directories that have been added by plugins.
View helper directories from plugins.
Parameters: |
|
---|
Add a theme directory to the list of plugin-added view directories.
Used by the add_theme_pages() helper to create a list of directories thatcan store static pages that integrate into the themes.
Parameters: |
|
---|---|
Returns: | void |
Retrieve the list of plugin-added view script directories.
Parameters: |
|
---|---|
Returns: | array List of indexed directory names. |
Get all the existing plugin view helper dirs, indexed by plugin name.
Returns: | array |
---|
Make an entire directory of controllers available to the front controller.
This has to use addControllerDirectory() instead of addModuleDirectory()because module names are case-sensitive and module directories need to belowercased to conform to Zend’s weird naming conventions.
Parameters: |
|
---|---|
Returns: | void |
Set up the following directory structure for plugins:
controllers/models/libraries/views/admin/public/shared/
This also adds these folders to the correct include paths.
Parameters: |
|
---|---|
Returns: | void |
Retrieve the module name for the plugin (based on the directory name of the plugin).
Parameters: |
|
---|---|
Returns: | string Plugin MVC module name. |
Check include path to see if it already contains a specific path.
Parameters: |
|
---|---|
Returns: | boolean |