| Current Path : /var/www/homesaver/www/bitrix/modules/skyweb24.sharebasket/lib/ |
| Current File : /var/www/homesaver/www/bitrix/modules/skyweb24.sharebasket/lib/settings.php |
<?
namespace Skyweb24\Sharebasket;
use \Bitrix\Main\Localization\Loc,
\Bitrix\Main\Config\Option;
Loc::loadMessages(__DIR__ .'/lang.php');
/**
* Global settings for modules
*/
class Settings{
private static $_instance = null;
private $module_id;
private $tableShareBasket;
private function __construct(){
$this->module_id='skyweb24.sharebasket';
$this->tableShareBasket='skyweb24_sharebasket';
}
public static function getInstance(){
if (self::$_instance != null){
return self::$_instance;
}
return new self;
}
public function getModuleId(){
return $this->module_id;
}
public function getTableShareBasket(){
return $this->tableShareBasket;
}
}
?>