Skip to content
Snippets Groups Projects
Commit 26572951 authored by David Siegfried's avatar David Siegfried
Browse files

rework php-doc changes, refs #687

parent 2ec3bba7
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Lifter007: TODO # Lifter007: TODO
# Lifter003: TODO # Lifter003: TODO
# Lifter010: TODO # Lifter010: TODO
/** /*
* URLHelper.php - utility functions for URL parameter handling * URLHelper.php - utility functions for URL parameter handling
* *
* Copyright (c) 2008 Elmar Ludwig * Copyright (c) 2008 Elmar Ludwig
......
...@@ -58,7 +58,7 @@ class PluginEngine ...@@ -58,7 +58,7 @@ class PluginEngine
/** /**
* Get instance of the plugin specified by plugin class name. * 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) public static function getPlugin ($class)
{ {
...@@ -84,7 +84,7 @@ class PluginEngine ...@@ -84,7 +84,7 @@ class PluginEngine
* the return values. * the return values.
* *
* @param string $type plugin type or null (all types) * @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 * @param mixed a variable number of arguments
* *
* @return array an array containing the return values * @return array an array containing the return values
......
...@@ -115,7 +115,7 @@ class PluginManager ...@@ -115,7 +115,7 @@ class PluginManager
public function setPluginEnabled ($id, $enabled, $force = false) public function setPluginEnabled ($id, $enabled, $force = false)
{ {
$info = $this->getPluginInfoById($id); $info = $this->getPluginInfoById($id);
$plugin_class = ''; $plugin_class = null;
// Plugin is not present or no changes // Plugin is not present or no changes
if (!$info || $info['enabled'] == $enabled) { if (!$info || $info['enabled'] == $enabled) {
...@@ -156,7 +156,7 @@ class PluginManager ...@@ -156,7 +156,7 @@ class PluginManager
* Set the navigation position of the given plugin. * Set the navigation position of the given plugin.
* *
* @param int $id id of the 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 * @return bool indicating whether any change occured
*/ */
public function setPluginPosition ($id, $position) public function setPluginPosition ($id, $position)
...@@ -419,7 +419,7 @@ class PluginManager ...@@ -419,7 +419,7 @@ class PluginManager
* @param string $name plugin name * @param string $name plugin name
* @param string $class plugin class name * @param string $class plugin class name
* @param string $path plugin relative path * @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) public function registerPlugin ($name, $class, $path, $depends = null)
{ {
...@@ -508,7 +508,7 @@ class PluginManager ...@@ -508,7 +508,7 @@ class PluginManager
/** /**
* Get meta data for the plugin specified by plugin class name. * 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) public function getPluginInfo ($class)
{ {
...@@ -612,7 +612,7 @@ class PluginManager ...@@ -612,7 +612,7 @@ class PluginManager
/** /**
* Get instance of the plugin specified by plugin class name. * 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 * @return object
*/ */
public function getPlugin ($class) public function getPlugin ($class)
......
<?php <?php
/** /*
* PluginRepository.class.php - query plugin meta data * PluginRepository.class.php - query plugin meta data
* *
* Copyright (c) 2008 Elmar Ludwig * Copyright (c) 2008 Elmar Ludwig
...@@ -40,7 +40,6 @@ class PluginRepository ...@@ -40,7 +40,6 @@ class PluginRepository
* Read plugin meta data from the given URL (using XML format). * Read plugin meta data from the given URL (using XML format).
* The structure of the XML is: * The structure of the XML is:
* *
* @param string $url given url for plugin
* *
* <plugins> * <plugins>
* <plugin name="DummyPlugin" * <plugin name="DummyPlugin"
...@@ -52,6 +51,7 @@ class PluginRepository ...@@ -52,6 +51,7 @@ class PluginRepository
* </plugin> * </plugin>
* [...] * [...]
* </plugins> * </plugins>
* @param string $url given url for plugin
*/ */
public function readMetadata($url) public function readMetadata($url)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment