/** * Get Courses * * Obtain a list of courses for use in limiting the reserves list. * * @return array An associative array with key = ID, value = name. * @access public */ public function getCourses() { // Graceful degradation -- return empty list if no method supported. return method_exists($this->driver, 'getCourses') ? $this->driver->getCourses() : array(); }