コード例 #1
0
ファイル: SignupForm.class.php プロジェクト: alcf/chms
 /**
  * Specifies whether or not this is signup is still within the capacity limits
  * (or if no capacity is specified, we always return true)
  * @return boolean
  */
 public function IsWithinCapacity()
 {
     if (!$this->intSignupLimit) {
         return true;
     }
     return SignupEntry::CountBySignupFormIdSignupEntryStatusTypeId($this->intId, SignupEntryStatusType::Complete) < $this->intSignupLimit;
 }