app\locker\data\dashboards\BaseDashboard::statementAvgCount PHP Метод

statementAvgCount() публичный Метод

Using the number of days the LRS has been running with statements work out the average number of statements per day.
public statementAvgCount ( )
    public function statementAvgCount()
    {
        $count = $this->statementCount();
        $days = $this->statementDays();
        $avg = 0;
        if ($count && $days) {
            $avg = round($count / $days);
        }
        return $avg;
    }