[feature/module_services] Add missing methods to module interface and base

This commit is contained in:
Marc Alexander
2013-11-10 13:19:38 +01:00
parent d63149f33b
commit 207076d637
2 changed files with 33 additions and 0 deletions

View File

@@ -54,6 +54,30 @@ class module_base implements module_interface
return $this->language; return $this->language;
} }
/**
* @inheritdoc
*/
public function get_template_side($module_id)
{
return;
}
/**
* @inheritdoc
*/
public function get_template_center($module_id)
{
return;
}
/**
* @inheritdoc
*/
public function get_template_acp($module_id)
{
return false;
}
/** /**
* @inheritdoc * @inheritdoc
*/ */

View File

@@ -68,6 +68,15 @@ interface module_interface
*/ */
public function get_template_side($module_id); public function get_template_side($module_id);
/**
* Get template file for center columns
*
* @param int $module_id Module's ID
*
* @return string Module template file
*/
public function get_template_center($module_id);
/** /**
* Get acp settings * Get acp settings
* *