Files
phpbb_board3-portal_tlw/modules/module_base.php
Marc Alexander e3220460a9 [feature/module_services] Start using services for modules
This includes a module_interface and module_base for the modules.
Adding, moving, or managing modules doesn't work yet.
2013-11-07 17:33:59 +01:00

73 lines
875 B
PHP

<?php
/**
*
* @package Board3 Portal v2.1
* @copyright (c) 2013 Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
namespace board3\portal\modules;
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
/**
* @package module_base
*/
abstract class module_base implements module_interface
{
/**
* @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
*/
public function install($module_id)
{
return true;
}
/**
* @inheritdoc
*/
public function uninstall($module_id)
{
return true;
}
}