| Home | Trees | Indices | Help |
|---|
|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Enables a plugin if all the deps are met. Else it raises UnmetDependencyException. Returns the list of enabled plugins. In this case, enable means this plugins will be enabled in the future: this function will only be called when the user enables a plugin in the pluginmanager.PluginListView. |
Disables a plugin and all plugins that have given plugin as a dependency. Returns the list of disabled plugins. In this case, disable means this plugins will be disabled in the future: this function will only be called when the user disables a plugin in the pluginmanager.PluginListView. |
Uninstall the given plugin. There are two ways of uninstall: * When delete_files is false, then this function only deletes all plugin's data in the db. In this way you can reinstall the plugin when you want. * When delete_files is true, then this function delete all plugin's data in the db and plugin's directory. In this way all data is deleted, so you have to get the whole plugin to reinstall. Either way, this function always removes the installed files in static/ and templates/ for this plugin. Before uninstalling a plugin, it MUST be disabled and obviously all the plugins that have the plugin as a dependency. |
Return the instance of the plugin whose name is given. None is returned if the instance is not found. |
Called only by __enable_plugin when a plugin has not been installed before. * Creates the tables in the database from the plugin model * installs the static/ and templates/ plugin directories in static/plugins/<pluginname> and templates/plugins/<pluginname>/ * calls to the install() function of the given plugin |
Recursively returns the list of the dependencies of the given plugins. If any of the dependencies is not met then it will raise a UnMetDependencyException. The list of plugins dependencies will include the plugin itself which will be at the end of the list, and the list of dependencies will be ordered in such a way that they can be safely activated one by one, because any of the listed plugins will be preceded by its dependencies. It will only be called by enable_plugin(). |
Recursively returns the list of the reverse dependencies of the given plugins. The list of plugins dependencies will include the plugin itself which will be at the end of the list, and the list of dependencies will be ordered in such a way that they can be safely desactivated one by one, because any of the listed plugins will be preceded by its dependencies. It will only be called by disable_plugin(). |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:29 2010 | http://epydoc.sourceforge.net |