diff --git a/modules/module_base.php b/modules/module_base.php index 256113be..b266f1c5 100644 --- a/modules/module_base.php +++ b/modules/module_base.php @@ -54,6 +54,30 @@ class module_base implements module_interface 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 */ diff --git a/modules/module_interface.php b/modules/module_interface.php index 232d44f2..b6e49d6b 100644 --- a/modules/module_interface.php +++ b/modules/module_interface.php @@ -68,6 +68,15 @@ interface module_interface */ 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 *