PHP Class Swiftriver\AnalyticsProviders\SourcesByChannelOverTimeAnalyticsProvider

Inheritance: extends BaseAnalyticsClass, implements Swiftriver\Core\Analytics\IAnalyticsProvider
Datei anzeigen Open project: ushahidi/Swiftriver-2011

Public Methods

Method Description
DataContentSet ( ) : string[] Function that returns an array containing the fully qualified types of the data content's that the deriving Analytics Provider can work against
ProvideAnalytics ( $request ) : AnalyticsRequest Function that when implemented by a derived class should return an object that can be json encoded and returned to the UI to provide analytical information about the underlying data.
ProviderType ( ) : string Function that should return the name of the given AnalyticsProvider.
mongo_analytics ( $request )
mysql_analytics ( $request )

Private Methods

Method Description
DayOfYear2Date ( $dayofyear, $format = 'd-m-Y' )

Method Details

DataContentSet() public method

Function that returns an array containing the fully qualified types of the data content's that the deriving Analytics Provider can work against
public DataContentSet ( ) : string[]
return string[]

ProvideAnalytics() public method

Function that when implemented by a derived class should return an object that can be json encoded and returned to the UI to provide analytical information about the underlying data.
public ProvideAnalytics ( $request ) : AnalyticsRequest
return Swiftriver\Core\Analytics\AnalyticsRequest

ProviderType() public method

Function that should return the name of the given AnalyticsProvider.
public ProviderType ( ) : string
return string

mongo_analytics() public method

public mongo_analytics ( $request )

mysql_analytics() public method

public mysql_analytics ( $request )