PHP Class app\locker\data\dashboards\BaseDashboard

Inheritance: extends app\locker\data\BaseData
Afficher le fichier Open project: learninglocker/learninglocker

Protected Properties

Свойство Type Description
$has_lrs
$lrs_repo

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
statementDays ( ) Get a count of all the days from the first day a statement was submitted to Lrs.

Method Details

__construct() public méthode

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

actorCount() public méthode

Count the number of distinct actors within LRS statements.
public actorCount ( ) : count.
Résultat count.

getGraphData() public méthode

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

getStatementNumbersByDate() public méthode

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() public méthode

Set all stats array.
public getStats ( )

statementAvgCount() public méthode

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

statementCount() public méthode

Count all statements in Learning Locker
public statementCount ( ) : count
Résultat count

statementDays() protected méthode

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

Property Details

$has_lrs protected_oe property

protected $has_lrs

$lrs_repo protected_oe property

protected $lrs_repo