Ejemplo n.º 1
0
 /**
  * Counts all associated ClassRegistrations
  * @return int
  */
 public function CountClassRegistrations()
 {
     if (is_null($this->intId)) {
         return 0;
     }
     return ClassRegistration::CountByClassGradeId($this->intId);
 }