GetSelectedFilterPresetName
string public function getSelectedFilterPresetName();
This method returns the name of the current selected filter.
Returned value
Returns the name of the current selected filter.
Examples of use
<?php CModule::IncludeModule('tasks'); $userId = (int) $GLOBALS['USER']->getId(); $bGroupMode = false; $oFilter = CTaskFilterCtrl::getInstance($userId, $bGroupMode); echo $oFilter->getSelectedFilterPresetName(); // Gets to show, for example, «Created by me» ?>
© «Bitrix24», 2001-2024