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

