Пример #1
0
 /**
  * Retrieves the number of all members of a status
  *
  * @param String|Array $status  the status to filter with
  *
  * @return int the number of all those members.
  */
 function countMembersWithStatus($status)
 {
     return CourseMember::countByCourseAndStatus($this->id, $status);
 }