PHP Класс app\locker\data\dashboards\BaseDashboard

Наследование: extends app\locker\data\BaseData
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$has_lrs
$lrs_repo

Открытые методы

Метод Описание
__construct ( EloquentRepository $lrs_repo = null )
actorCount ( ) : count. Count the number of distinct actors within LRS statements.
getGraphData ( DateTime $startDate = null, DateTime $endDate = null )
getStatementNumbersByDate ( DateTime $startDate = null, DateTime $endDate = null ) Get a count of statements on each day the lrs has been active.
getStats ( ) Set all stats array.
statementAvgCount ( ) Using the number of days the LRS has been running with statements work out the average number of statements per day.
statementCount ( ) : count Count all statements in Learning Locker

Защищенные методы

Метод Описание
statementDays ( ) Get a count of all the days from the first day a statement was submitted to Lrs.

Описание методов

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

public __construct ( EloquentRepository $lrs_repo = null )
$lrs_repo Locker\Repository\Lrs\EloquentRepository

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

Count the number of distinct actors within LRS statements.
public actorCount ( ) : count.
Результат count.

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

public getGraphData ( DateTime $startDate = null, DateTime $endDate = null )
$startDate DateTime
$endDate DateTime

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

Get a count of statements on each day the lrs has been active.
public getStatementNumbersByDate ( DateTime $startDate = null, DateTime $endDate = null )
$startDate DateTime
$endDate DateTime

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

Set all stats array.
public getStats ( )

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

Using the number of days the LRS has been running with statements work out the average number of statements per day.
public statementAvgCount ( )

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

Count all statements in Learning Locker
public statementCount ( ) : count
Результат count

statementDays() защищенный Метод

Get a count of all the days from the first day a statement was submitted to Lrs.
protected statementDays ( )

Описание свойств

$has_lrs защищенное свойство

protected $has_lrs

$lrs_repo защищенное свойство

protected $lrs_repo