Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс CheckRightsOnDecreaseStoreAmount
+ Граф наследования:CheckRightsOnDecreaseStoreAmount:

Открытые статические члены

static isNotUsed ()
 
static isEnabled ()
 
static isDisabled ()
 
static isAvailableValue (string $value)
 
- Открытые статические члены унаследованные от Option
static get ()
 
static set (string $value)
 

Открытые атрибуты

const NAME = 'check_rights_on_decrease_store_quantity'
 
const DEFAULT_VALUE = self::NOT_USED
 
const ENABLED_VALUE = 'E'
 
const DISABLED_VALUE = 'D'
 
const NOT_USED = 'N'
 
- Открытые атрибуты унаследованные от Option
const NAME = null
 
const DEFAULT_VALUE = null
 

Подробное описание

Option for toggle decrease store product quantity checking algorithm.

Is option 'E' - checks catalog rights; Is option 'D' - nothing action; Is option 'N' - see product field NEGATIVE_AMOUNT_TRACE.

См. определение в файле checkrightsondecreasestoreamount.php строка 14

Методы

◆ isAvailableValue()

static isAvailableValue ( string $value)
static

Checks is available value.

Аргументы
string$value
Возвращает
bool

См. определение в файле checkrightsondecreasestoreamount.php строка 60

◆ isDisabled()

static isDisabled ( )
static

Checks rights - is disabled.

Возвращает
bool

См. определение в файле checkrightsondecreasestoreamount.php строка 48

◆ isEnabled()

static isEnabled ( )
static

Checks rights - is enabled.

Возвращает
bool

См. определение в файле checkrightsondecreasestoreamount.php строка 38

◆ isNotUsed()

static isNotUsed ( )
static

Checks rights - not used.

Возвращает
bool

См. определение в файле checkrightsondecreasestoreamount.php строка 28

Данные класса

◆ DEFAULT_VALUE

const DEFAULT_VALUE = self::NOT_USED

См. определение в файле checkrightsondecreasestoreamount.php строка 17

◆ DISABLED_VALUE

const DISABLED_VALUE = 'D'

См. определение в файле checkrightsondecreasestoreamount.php строка 20

◆ ENABLED_VALUE

const ENABLED_VALUE = 'E'

См. определение в файле checkrightsondecreasestoreamount.php строка 19

◆ NAME

const NAME = 'check_rights_on_decrease_store_quantity'

См. определение в файле checkrightsondecreasestoreamount.php строка 16

◆ NOT_USED

const NOT_USED = 'N'

См. определение в файле checkrightsondecreasestoreamount.php строка 21