Options
Options class of filter settings methods.
Method | Description |
---|---|
Constructor | Constructor method |
getFilter | Returns current filter values. |
getSearchString | Returns filter search string value. |
save | Saves filter value. |
getAllUserOptions | Returns filter options for all users as object of CDBResult class. |
saveForAll | Saves filter options for all users. |
isCommon | Returns true , when parameters are common. |
saveOptionsForUser | Saves parameters for user with $userId . |
saveCommon | Saves current parameters as common. |
setFilterRows | Sets filter row order. |
restore | Resets filter settings to default settings. |
deleteFilter | Deletes filter preset by its ID. |
isDeletedPreset | Checks if preset is deleted. |
calcDates | Calculates the date value. |
reset | Resets current applied filter. |
fetchCommonPresets | Gets list of common presets from database. |
fetchOptions | Gets filter settings from database. |
findDefaultPresetId | Returns filter default preset ID from presets array. |
getOptions | Returns array with filter settings. |
pinPreset | Applies preset as common. |
isSetFromRequest | Returns true when fields were preset by AJAX request. |
fetchSettingsFromQuery | Gets setting field values from query. |
getSessionFilterId | Returns session filter ID. |
getDefaultFilterId | Returns filter ID by default. |
getCurrentFilterId | Returns current filter ID. |
getFilterSettings | Returns array with filter settings by preset ID. |
fetchDateFieldValue | Gets date field values. |
fetchNumberFieldValue | >Gets numeric field values. |
getId | Returns filter ID. |
setPresets | Sets filter presets. |
setCurrentPreset | Sets preset as current. |
getDefaultPresets | Returns array with default presets from filter options. |
getPresets | Returns array with presets. |
setDefaultPreset | Sets preset as the default preset. |
isUsePinPreset | Returns list of actions. |
setDefaultPresets | Sets preset as the default presets. |
setDeletedPresets | Sets deleted presets. |
setUsePinPreset | Sets use_pin_preset field value. |
[link=11517674]getFilterId[/link] | Returns filter ID. |
[link=11517694]setupDefaultFilter[/link] | Sets default filter settings. |
© «Bitrix24», 2001-2024