Пример #1
0
 /**
  * Returns the type of an objectID
  * @access public
  * @param  string  $objectID  The objectID
  * @return string  INSTANCEOF_x, else NO
  */
 function getType($objectID)
 {
     if ($this->exists($objectID)) {
         return INSTANCEOF_EVALGROUP;
     } else {
         $dbObject = new EvaluationQuestionDB();
         return $dbObject->getType($objectID);
     }
 }