method
public
static
Effective::getAverageEfficiency()
Сигнатура
public static getAverageEfficiency([DateTime|null $dateFrom = null ][, DateTime|null $dateTo = null ][, int $userId = 0 ][, int $groupId = 0 ]) : int
Описание
Русский перевод этого описания пока проверяется. Показан оригинал.
If at least one of dates is not set, it will try to take the dates from the filter preset user pinned as default.
If filter options were not set in b_user_options for some reason and we still haven't dates,
it will take the default dates from static::getDatesRange().
For now they are borders of current month.
Параметры
$dateFrom
DateTime|null
= null
$dateTo
DateTime|null
= null
$userId
int
= 0
$groupId
int
= 0
Возвращаемое значение
int
Исходный файл: source/tasks/lib/internals/effective.php:743

