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

