method
public
CounterState::resetCache()
Сигнатура
public resetCache() : void
Возвращаемое значение
void
Как применяется в CounterState
CounterState::resetCache() — метод класса \Bitrix\Tasks\Internals\Counter\CounterState модуля «Задачи».
Метод объекта: сначала нужен экземпляр CounterState.
use Bitrix\Main\Loader;
use Bitrix\Tasks\Internals\Counter\CounterState;
Loader::includeModule('tasks');
/** @var CounterState $object */
$object->resetCache();Другие методы CounterState
current()getClearedDate()getLoader()getRawCounters()getSize()getValue()init()isCounted()key()next()rewind()updateState()
resetCache() есть и у других классов модуля «Задачи»: InDatabase, InMemory, Loader.
Исходный файл: source/tasks/lib/internals/counter/counterstate.php:71

