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

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

 execute (array &$option)
 
- Открытые члены унаследованные от Stepper
 __destruct ()
 
 setOuterParams (array $outerParams)
 
 getOuterParams ()
 

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

static setFilterToConvert ($filterId, $tableId, array $ratioFields)
 
- Открытые статические члены унаследованные от Stepper
static getHtml ($ids=array(), $title="")
 
static getTitle ()
 
static execAgent ()
 
static makeArguments ($arguments=[])
 
static createInstance ()
 
static getModuleId ()
 
static checkRequest ()
 

Защищенные члены

 convertOldFieldsToNewFields (array $oldFields, array $ratioFields)
 
 getNewDateType ($oldDateType, $oldDateValue)
 
- Защищенные члены унаследованные от Stepper
 writeToLog (\Exception $exception)
 

Защищенные данные

 $deleteFile = true
 
 $limit = 100
 
- Защищенные данные унаследованные от Stepper
 $deleteFile = false
 
 $outerParams = []
 

Статические защищенные данные

static $moduleId = "iblock"
 
- Статические защищенные данные унаследованные от Stepper
static $moduleId = "main"
 

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

- Открытые атрибуты унаследованные от Stepper
const CONTINUE_EXECUTION = true
 
const FINISH_EXECUTION = false
 

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

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

Методы

◆ convertOldFieldsToNewFields()

convertOldFieldsToNewFields ( array $oldFields,
array $ratioFields )
protected

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

◆ execute()

execute ( array & $option)

Executes some action, and if return value is false, agent will be deleted.

Аргументы
array$optionArray with main data to show if it is necessary like {steps : 35, count : 7}, where steps is an amount of iterations, count - current position.
Возвращает
boolean

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

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

◆ getNewDateType()

getNewDateType ( $oldDateType,
$oldDateValue )
protected

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

◆ setFilterToConvert()

static setFilterToConvert ( $filterId,
$tableId,
array $ratioFields )
static

The method records the necessary data for conversion into an option.

Аргументы
string$filterIdFilter id.
string$tableIdGrid id.
array$ratioFieldsFields of the old and new filter. array( "find_name" => "NAME", "find_lang" => "LID", ... )
Исключения

Bitrix\Main\ArgumentNullException

Исключения

Bitrix\Main\ArgumentOutOfRangeException

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

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

◆ $deleteFile

$deleteFile = true
protected

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

◆ $limit

$limit = 100
protected

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

◆ $moduleId

$moduleId = "iblock"
staticprotected

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