D7 API documentation
What's New
Modules
Main module in old core
Options constructor
calcDates
deleteFilter
fetchCommonPresets
fetchDateFieldValue
fetchNumberFieldValue
fetchOptions
fetchSettingsFromQuery
findDefaultPresetId
getAllUserOptions
getCurrentFilterId
getDefaultFilterId
getDefaultPresets
getFilter
getFilterSettings
getId
getOptions
getPresets
getSearchString
getSessionFilterId
isCommon
isDeletedPreset
isSetFromRequest
isUsePinPreset
pinPreset
reset
restore
save
saveCommon
saveForAll
saveOptionsForUser
setCurrentPreset
setDefaultPreset
setDefaultPresets
setDeletedPresets
setFilterRows
setPresets
setUsePinPreset
fetchNumberFieldValue
array public static \Bitrix\Main\UI\Filter\Options::fetchNumberFieldValue( string $key = "", array $filterFields = array() );
Method gets numerical field value.
Parameters
Parameter | Description | Version |
---|---|---|
$key | Key | |
$filterFields | Array with filter fields.
Returned value: number (numeric) - field value will be returned as severe fields with postfixes _numsel, _from, _to. "FIELD_numsel" => "Value type", "FIELD_from" => "Range start", "FIELD_to" => "Range end" |
Example
© «Bitrix24», 2001-2024
Up