[feature/module_services] Add missing methods to module interface and base
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user