/** * Counts all associated SignupProducts * @return int */ public function CountSignupProducts() { if (is_null($this->intId)) { return 0; } return SignupProduct::CountByFormProductId($this->intId); }