Methods

Constructor Function

Area() 

getAreaID() Returns the idarea for a given area name

getAreaID($area) : int

Parameters

$area

Returns

intInteger with the ID for the area

getAreaName() Returns the name for a given areaid

getAreaName($area) : string

Parameters

$area

Returns

stringString with the name for the area

getAvailableAreas() Returns all areas available in the system

getAvailableAreas() : array

Returns

arrayArray with id and name entries