コード例 #1
0
 /**
  * Get Instructors
  *
  * Obtain a list of instructors for use in limiting the reserves list.
  *
  * @return array An associative array with key = ID, value = name.
  * @access public
  */
 public function getInstructors()
 {
     // Graceful degradation -- return empty list if no method supported.
     return method_exists($this->driver, 'getInstructors') ? $this->driver->getInstructors() : array();
 }