PHP Class Grav\Plugin\Admin\Popularity

Afficher le fichier Open project: getgrav/grav-plugin-admin Class Usage Examples

Protected Properties

Свойство Type Description
$config Grav\Common\Config\Config
$daily_data
$daily_file
$data_path
$monthly_data
$monthly_file
$totals_data
$totals_file
$visitors_data
$visitors_file

Méthodes publiques

Méthode Description
__construct ( )
flushPopularity ( )
getDailyChartData ( ) : array
getDailyTotal ( ) : integer
getMonthlyTotal ( ) : integer
getWeeklyTotal ( ) : integer
trackHit ( )

Méthodes protégées

Méthode Description
getData ( string $path ) : array
getMonthyChartData ( ) : array
updateDaily ( )
updateMonthly ( )
updateTotals ( string $url )
updateVisitors ( string $ip )

Method Details

__construct() public méthode

public __construct ( )

flushPopularity() public méthode

public flushPopularity ( )

getDailyChartData() public méthode

public getDailyChartData ( ) : array
Résultat array

getDailyTotal() public méthode

public getDailyTotal ( ) : integer
Résultat integer

getData() protected méthode

protected getData ( string $path ) : array
$path string
Résultat array

getMonthlyTotal() public méthode

public getMonthlyTotal ( ) : integer
Résultat integer

getMonthyChartData() protected méthode

protected getMonthyChartData ( ) : array
Résultat array

getWeeklyTotal() public méthode

public getWeeklyTotal ( ) : integer
Résultat integer

trackHit() public méthode

public trackHit ( )

updateDaily() protected méthode

protected updateDaily ( )

updateMonthly() protected méthode

protected updateMonthly ( )

updateTotals() protected méthode

protected updateTotals ( string $url )
$url string

updateVisitors() protected méthode

protected updateVisitors ( string $ip )
$ip string

Property Details

$config protected_oe property

protected Config,Grav\Common\Config $config
Résultat Grav\Common\Config\Config

$daily_data protected_oe property

protected $daily_data

$daily_file protected_oe property

protected $daily_file

$data_path protected_oe property

protected $data_path

$monthly_data protected_oe property

protected $monthly_data

$monthly_file protected_oe property

protected $monthly_file

$totals_data protected_oe property

protected $totals_data

$totals_file protected_oe property

protected $totals_file

$visitors_data protected_oe property

protected $visitors_data

$visitors_file protected_oe property

protected $visitors_file