| Current Path : /var/www/html/ajay/phpwebsite-1.8.x/Global/ |
| Current File : /var/www/html/ajay/phpwebsite-1.8.x/Global/GlobalModule.php |
<?php
/**
* This is a faux module used for purposes of extracting site settings.
*
* @author Matthew McNaney <mcnaney at gmail dot com>
* @license http://opensource.org/licenses/lgpl-3.0.html
*/
require_once PHPWS_SOURCE_DIR . 'Global/Implementations.php';
class GlobalModule extends Module implements SettingDefaults {
/**
* Eventually to be handled by UI
*/
public function getSettingDefaults()
{
$settings['language'] = DEFAULT_LANGUAGE;
return $settings;
}
public function getTitle()
{
return 'Global';
}
public function getController(Request $request)
{
// TODO ...?
}
public function run()
{
}
public function init()
{
}
}
?>