[feature/module_services] Fix docblocks and missing variables in modules

This commit is contained in:
Marc Alexander
2013-11-12 14:45:19 +01:00
parent 35fb3103f7
commit d0e8cbea32
2 changed files with 28 additions and 64 deletions

View File

@@ -41,38 +41,6 @@ class clock extends module_base
*/
public $language = 'portal_clock_module';
/**
* @inheritdoc
*/
public function get_allowed_columns()
{
return $this->columns;
}
/**
* @inheritdoc
*/
public function get_name()
{
return $this->name;
}
/**
* @inheritdoc
*/
public function get_image()
{
return $this->image_src;
}
/**
* @inheritdoc
*/
public function get_language()
{
return $this->language;
}
/**
* @inheritdoc
*/

View File

@@ -41,6 +41,34 @@ class stylechanger extends module_base
*/
public $language = 'portal_stylechanger_module';
/** @var \phpbb\config\config */
protected $config;
/** @var \phpbb\template */
protected $template;
/** @var \phpbb\db\driver */
protected $db;
/** @var php file extension */
protected $php_ext;
/** @var phpbb root path */
protected $phpbb_root_path;
/** @var \phpbb\user */
protected $user;
/**
* Construct a stylechanger object
*
* @param \phpbb\config\config $config phpBB config
* @param \phpbb\template $template phpBB template
* @param \phpbb\db\driver $db Database driver
* @param string $phpEx php file extension
* @param string $phpbb_root_path phpBB root path
* @param \phpbb\user $user phpBB user object
*/
public function __construct($config, $template, $db, $phpEx, $phpbb_root_path, $user)
{
$this->config = $config;
@@ -51,38 +79,6 @@ class stylechanger extends module_base
$this->user = $user;
}
/**
* @inheritdoc
*/
public function get_allowed_columns()
{
return $this->columns;
}
/**
* @inheritdoc
*/
public function get_name()
{
return $this->name;
}
/**
* @inheritdoc
*/
public function get_image()
{
return $this->image_src;
}
/**
* @inheritdoc
*/
public function get_language()
{
return $this->language;
}
/**
* @inheritdoc
*/