diff options
author | alecpl <alec@alec.pl> | 2011-09-12 12:52:01 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-09-12 12:52:01 +0000 |
commit | 8703b0801865eb47505c960037d916253e315fc7 (patch) | |
tree | 0f053d02dd4512e98731d7adede5253b7dafdc38 /program/include/rcube_plugin_api.php | |
parent | 979679b311c3f55c5a2d556391554613420f6379 (diff) |
- Extend rcube_label_exists() to search in loaded plugins localizations
- Allow use localized addressbook field subtypes from plugins
Diffstat (limited to 'program/include/rcube_plugin_api.php')
-rw-r--r-- | program/include/rcube_plugin_api.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/program/include/rcube_plugin_api.php b/program/include/rcube_plugin_api.php index 0e38a3101..4846cd91b 100644 --- a/program/include/rcube_plugin_api.php +++ b/program/include/rcube_plugin_api.php @@ -422,6 +422,17 @@ class rcube_plugin_api /** + * Returns list of loaded plugins names + * + * @return array List of plugin names + */ + public function loaded_plugins() + { + return array_keys($this->plugins); + } + + + /** * Callback for template_container hooks * * @param array $attrib |