PHP Class Social\Module

Inheritance: extends Gc\Module\AbstractModule
Exibir arquivo Open project: gotcms/gotcms

Public Methods

Method Description
dashboard ( Zend\EventManager\EventInterface $e ) : false | null Dashboard widget
getConfig ( ) : array Get module configuration
onBootstrap ( Zend\EventManager\EventInterface $e ) : void Boostrap

Protected Methods

Method Description
executeQuery ( string $metric, string $dimension, string $domain, string $period, string $username, string $password, string $profile ) : mixed Execute request to addthis api

Method Details

dashboard() public method

Dashboard widget
public dashboard ( Zend\EventManager\EventInterface $e ) : false | null
$e Zend\EventManager\EventInterface Event
return false | null

executeQuery() protected method

Execute request to addthis api
protected executeQuery ( string $metric, string $dimension, string $domain, string $period, string $username, string $password, string $profile ) : mixed
$metric string Metric
$dimension string Dimension
$domain string Domain
$period string Period
$username string Usernamer
$password string Password
$profile string Profile id
return mixed

getConfig() public method

Get module configuration
public getConfig ( ) : array
return array

onBootstrap() public method

Boostrap
public onBootstrap ( Zend\EventManager\EventInterface $e ) : void
$e Zend\EventManager\EventInterface Event
return void