$baseURL
$baseURL : null|array
Base API URL
Base API URL comprised of environment variables passed to the ORM constructor.
ORM Course Client
Communicates with an ORM API to preform course 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, integer $course_level, integer $department_id = null, string $department_code = null) : \Unirest\Response
Store Course
Create or update a course, by it's code.
string | $code | |
string | $label | |
integer | $course_level | |
integer | $department_id | |
string | $department_code |