Example #1
0
 /**
  * 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;
 }