Tariqa SOAP
 All Data Structures Namespaces Files Functions Variables Enumerations
tariqaHotspots Class Reference
Inheritance diagram for tariqaHotspots:
Tariqa

Public Member Functions

 __construct ($config, $soap)
 ListHotSpots ($token, $day=null)
 getHistory ($token, $country_id, $history_id=null)
 getHistory2 ($token, $country_id, $dates, $intervals)

Data Fields

 $soap

Protected Member Functions

 _listHotSpots ($day=null)
 _getHistory ($date, $intervals, $country_id, $my)

Protected Attributes

 $config = null

Constructor & Destructor Documentation

__construct ( config,
soap 
)

Constructs a tariqaThemes Object

Returns:
Tariqa

Member Function Documentation

_getHistory ( date,
intervals,
country_id,
my 
) [protected]

Gets the history for a given date

Parameters:
int$dateThe date
int$intervalsThe number of intervals to get the history
string$country_idThe country identifier
mysqli$myThe mysql database connection protected
Returns:
HotspotsResultSet
_listHotSpots ( day = null) [protected]

Get the list of hotspots for a day without authentification

Parameters:
int$dayThe day for which to retrieve the hotspots (null means the current date) [OPTIONAL]
Returns:
string[] A list of countries iso codes.
getHistory ( token,
country_id,
history_id = null 
)

Gets the number of articles for all the 63 weeks for a country

Parameters:
string$tokenThe session identifier
string$country_idThe country identifier
int$history_idIf specified, the history identifier to retrieve [OPTIONAL] public
Returns:
int[]
getHistory2 ( token,
country_id,
dates,
intervals 
)

Gets the number of articles for all the 63 weeks for a country

Parameters:
string$tokenThe session identifier
string$country_idThe country identifier
int[]$dates The dates to search from (unix timestamp)
int$intervalsThe number of intervals to search public
Returns:
HotspotsResultSet[]
ListHotSpots ( token,
day = null 
)

Get the list of hotspots for a day

Parameters:
string$tokenThe session identifier
int$dayThe day for which to retrieve the hotspots (null means the current date) [OPTIONAL]
Returns:
string[] A list of countries iso codes.

Field Documentation

$config = null [protected]

Reimplemented from Tariqa.

$soap

Reimplemented from Tariqa.


The documentation for this class was generated from the following file: