PHP Interface Swiftriver\Core\Analytics\IAnalyticsProvider

Author: mg[at]swiftly[dot]org
Mostra file 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.

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 AnalyticsRequest

ProviderType() public method

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