1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс RulesCollection
Граф наследования:RulesCollection:
Dictionary

Открытые члены

 __construct ()
 getValues ()
 compare (RulesCollection $policy)
 __call ($name, $arguments)
Открытые члены унаследованные от Dictionary
 __construct (array $values=null)
 get ($name)
 set ($name, $value=null)
 setValues ($values)
 clear ()
 current ()
 next ()
 key ()
 valid ()
 rewind ()
 offsetExists ($offset)
 offsetGet ($offset)
 offsetSet ($offset, $value)
 offsetUnset ($offset)
 count ()
 toArray ()
 isEmpty ()
 jsonSerialize ()
 __unserialize (array $data)

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

static createByPreset ($preset=self::PRESET_DEFAULT)

Поля данных

const PRESET_DEFAULT = 0
const PRESET_LOW = 1
const PRESET_MIDDLE = 2
const PRESET_HIGH = 3

Дополнительные унаследованные члены

Защищенные данные унаследованные от Dictionary
 $values = []

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

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

Конструктор(ы)

◆ __construct()

__construct ( )

RulesCollection constructor.

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

Методы

◆ __call()

__call ( $name,
$arguments )

It's magic...

Аргументы
string$name
array$arguments
Возвращает
mixed
Исключения
Main

SystemException

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

◆ compare()

compare ( RulesCollection $policy)

Compares two collections.

Аргументы
RulesCollection$policy
Возвращает
bool True if supplied policy is stronger than the current one.

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

◆ createByPreset()

createByPreset ( $preset = self::PRESET_DEFAULT)
static

Creates the collection of rules by a known preset.

Аргументы
int$preset
Возвращает
static

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

◆ getValues()

getValues ( )

Retuns key => value pairs in old-fashioned style (compatibility).

Возвращает
array

Переопределяет метод предка Dictionary.

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

Поля

◆ PRESET_DEFAULT

const PRESET_DEFAULT = 0

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

◆ PRESET_HIGH

const PRESET_HIGH = 3

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

◆ PRESET_LOW

const PRESET_LOW = 1

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

◆ PRESET_MIDDLE

const PRESET_MIDDLE = 2

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


Объявления и описания членов класса находятся в файле: