$baseURL
$baseURL : null|array
Base API URL
Base API URL comprised of environment variables passed to the ORM constructor.
ORM Building Client
Communicates with an ORM API to preform building operations.
$orm : null|\OpenResourceManager\ORM
ORM Connection
The current ORM connection.
__construct(\OpenResourceManager\ORM $orm)
Client Constructor
Constructs a client.
\OpenResourceManager\ORM | $orm |
getORM() : \OpenResourceManager\ORM
Get ORM Connection
Returns the current ORM object
store(string $code, string $label, float $latitude, float $longitude, integer $campus_id = null, string $campus_code = null) : \Unirest\Response
Store Building
Create or update a building, by it's code.
string | $code | |
string | $label | |
float | $latitude | |
float | $longitude | |
integer | $campus_id | |
string | $campus_code |