diff --git a/lib/classes/URLHelper.php b/lib/classes/URLHelper.php index a0c27b979bff6f91926061b06e91817c4185b9da..a36cc10377fa3b745250191d41958413802f0098 100644 --- a/lib/classes/URLHelper.php +++ b/lib/classes/URLHelper.php @@ -2,7 +2,7 @@ # Lifter007: TODO # Lifter003: TODO # Lifter010: TODO -/** +/* * URLHelper.php - utility functions for URL parameter handling * * Copyright (c) 2008 Elmar Ludwig diff --git a/lib/plugins/engine/PluginEngine.class.php b/lib/plugins/engine/PluginEngine.class.php index a0db8b86a7d85c0e93f25e6446a2bcf7c8865f8a..1d3e5a9b6b1568e33ceea9c7615dfee4d12be2bc 100644 --- a/lib/plugins/engine/PluginEngine.class.php +++ b/lib/plugins/engine/PluginEngine.class.php @@ -58,7 +58,7 @@ class PluginEngine /** * Get instance of the plugin specified by plugin class name. * - * @param class-string $class class name of plugin + * @param string $class class name of plugin */ public static function getPlugin ($class) { @@ -84,7 +84,7 @@ class PluginEngine * the return values. * * @param string $type plugin type or null (all types) - * @param mixed $method the method name that should be send to all plugins + * @param string $method the method name that should be send to all plugins * @param mixed a variable number of arguments * * @return array an array containing the return values diff --git a/lib/plugins/engine/PluginManager.class.php b/lib/plugins/engine/PluginManager.class.php index f5c53de45da66aa2a8852526d80f0119c179b52d..9216754632f6a66046b25f814f50c186f7be78ea 100644 --- a/lib/plugins/engine/PluginManager.class.php +++ b/lib/plugins/engine/PluginManager.class.php @@ -115,7 +115,7 @@ class PluginManager public function setPluginEnabled ($id, $enabled, $force = false) { $info = $this->getPluginInfoById($id); - $plugin_class = ''; + $plugin_class = null; // Plugin is not present or no changes if (!$info || $info['enabled'] == $enabled) { @@ -156,7 +156,7 @@ class PluginManager * Set the navigation position of the given plugin. * * @param int $id id of the plugin - * @param string $position plugin navigation position + * @param int $position plugin navigation position * @return bool indicating whether any change occured */ public function setPluginPosition ($id, $position) @@ -419,7 +419,7 @@ class PluginManager * @param string $name plugin name * @param string $class plugin class name * @param string $path plugin relative path - * @param string $depends id of plugin this plugin depends on + * @param int $depends id of plugin this plugin depends on */ public function registerPlugin ($name, $class, $path, $depends = null) { @@ -508,7 +508,7 @@ class PluginManager /** * Get meta data for the plugin specified by plugin class name. * - * @param class-string $class class name of plugin + * @param string $class class name of plugin */ public function getPluginInfo ($class) { @@ -612,7 +612,7 @@ class PluginManager /** * Get instance of the plugin specified by plugin class name. * - * @param class-string $class class name of plugin + * @param string $class class name of plugin * @return object */ public function getPlugin ($class) diff --git a/lib/plugins/engine/PluginRepository.class.php b/lib/plugins/engine/PluginRepository.class.php index 78b5d02edf5be0ecfdd6cf2bdeb14a64be1b64db..bf44a8f702738643f0f28f44fe7f34795bb35da1 100644 --- a/lib/plugins/engine/PluginRepository.class.php +++ b/lib/plugins/engine/PluginRepository.class.php @@ -1,6 +1,6 @@ <?php -/** +/* * PluginRepository.class.php - query plugin meta data * * Copyright (c) 2008 Elmar Ludwig @@ -40,7 +40,6 @@ class PluginRepository * Read plugin meta data from the given URL (using XML format). * The structure of the XML is: * - * @param string $url given url for plugin * * <plugins> * <plugin name="DummyPlugin" @@ -52,6 +51,7 @@ class PluginRepository * </plugin> * [...] * </plugins> + * @param string $url given url for plugin */ public function readMetadata($url) {