См. определение в файле internals/sitecurrency.php строка 13
◆ getCurrency()
static getCurrency |
( |
|
$siteId | ) |
|
|
static |
Returns site currency data.
- Аргументы
-
- Возвращает
- bool|array
См. определение в файле internals/sitecurrency.php строка 48
50 $siteId = (string)$siteId;
53 if (empty(self::$cache))
58 if ($managed->read(3600, $key))
59 self::$cache = $managed->get($key);
62 $result = self::getList(array(
63 'select' => array(
'*')
65 while ($row = $result->fetch())
66 self::$cache[$row[
'LID']] = $row;
68 $managed->set($key, self::$cache);
71 return (isset(self::$cache[$siteId]) ? self::$cache[$siteId] :
false);
static getInstance()
Returns current instance of the Application.
◆ getFilePath()
◆ getMap()
См. определение в файле internals/sitecurrency.php строка 27
31 'data_type' =>
'string',
33 'format' =>
'/^[A-Za-z0-9_]{2}$/'
36 'data_type' =>
'string',
37 'format' =>
'/^[A-Z]{3}$/'
◆ getSiteCurrency()
static getSiteCurrency |
( |
|
$siteId | ) |
|
|
static |
Returns site currency.
- Аргументы
-
- Возвращает
- string
См. определение в файле internals/sitecurrency.php строка 80
83 return (!empty($siteData[
'CURRENCY']) ? $siteData[
'CURRENCY'] : (
string)Main\
Config\
Option::get(
'sale',
'default_currency'));
static get($moduleId, $name, $default="", $siteId=false)
Returns a value of an option.
static getCurrency($siteId)
Returns site currency data.
◆ getTableName()
◆ onAfterAdd()
static onAfterAdd |
( |
Main\Entity\Event |
$event | ) |
|
|
static |
◆ onAfterDelete()
static onAfterDelete |
( |
Main\Entity\Event |
$event | ) |
|
|
static |
◆ onAfterUpdate()
static onAfterUpdate |
( |
Main\Entity\Event |
$event | ) |
|
|
static |
Объявления и описания членов класса находятся в файле: