/** * Override method to perform a property "Get" * This will get the value of $strName * * @param string $strName Name of the property to get * @return mixed */ public function __get($strName) { switch ($strName) { /////////////////// // Member Variables /////////////////// case 'Id': // Gets the value for intId (Read-Only PK) // @return integer return $this->intId; case 'SignupFormId': // Gets the value for intSignupFormId (Not Null) // @return integer return $this->intSignupFormId; case 'PersonId': // Gets the value for intPersonId // @return integer return $this->intPersonId; case 'SignupByPersonId': // Gets the value for intSignupByPersonId // @return integer return $this->intSignupByPersonId; case 'SignupEntryStatusTypeId': // Gets the value for intSignupEntryStatusTypeId (Not Null) // @return integer return $this->intSignupEntryStatusTypeId; case 'DateCreated': // Gets the value for dttDateCreated (Not Null) // @return QDateTime return $this->dttDateCreated; case 'DateSubmitted': // Gets the value for dttDateSubmitted // @return QDateTime return $this->dttDateSubmitted; case 'AmountTotal': // Gets the value for fltAmountTotal // @return double return $this->fltAmountTotal; case 'AmountPaid': // Gets the value for fltAmountPaid // @return double return $this->fltAmountPaid; case 'AmountBalance': // Gets the value for fltAmountBalance // @return double return $this->fltAmountBalance; case 'InternalNotes': // Gets the value for strInternalNotes // @return string return $this->strInternalNotes; case 'CommunicationsEntryId': // Gets the value for intCommunicationsEntryId // @return integer return $this->intCommunicationsEntryId; /////////////////// // Member Objects /////////////////// /////////////////// // Member Objects /////////////////// case 'SignupForm': // Gets the value for the SignupForm object referenced by intSignupFormId (Not Null) // @return SignupForm try { if (!$this->objSignupForm && !is_null($this->intSignupFormId)) { $this->objSignupForm = SignupForm::Load($this->intSignupFormId); } return $this->objSignupForm; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'Person': // Gets the value for the Person object referenced by intPersonId // @return Person try { if (!$this->objPerson && !is_null($this->intPersonId)) { $this->objPerson = Person::Load($this->intPersonId); } return $this->objPerson; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'SignupByPerson': // Gets the value for the Person object referenced by intSignupByPersonId // @return Person try { if (!$this->objSignupByPerson && !is_null($this->intSignupByPersonId)) { $this->objSignupByPerson = Person::Load($this->intSignupByPersonId); } return $this->objSignupByPerson; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'CommunicationsEntry': // Gets the value for the CommunicationListEntry object referenced by intCommunicationsEntryId // @return CommunicationListEntry try { if (!$this->objCommunicationsEntry && !is_null($this->intCommunicationsEntryId)) { $this->objCommunicationsEntry = CommunicationListEntry::Load($this->intCommunicationsEntryId); } return $this->objCommunicationsEntry; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'ClassRegistration': // Gets the value for the ClassRegistration object that uniquely references this SignupEntry // by objClassRegistration (Unique) // @return ClassRegistration try { if ($this->objClassRegistration === false) { // We've attempted early binding -- and the reverse reference object does not exist return null; } if (!$this->objClassRegistration) { $this->objClassRegistration = ClassRegistration::LoadBySignupEntryId($this->intId); } return $this->objClassRegistration; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } //////////////////////////// // Virtual Object References (Many to Many and Reverse References) // (If restored via a "Many-to" expansion) //////////////////////////// //////////////////////////// // Virtual Object References (Many to Many and Reverse References) // (If restored via a "Many-to" expansion) //////////////////////////// case '_FormAnswer': // Gets the value for the private _objFormAnswer (Read-Only) // if set due to an expansion on the form_answer.signup_entry_id reverse relationship // @return FormAnswer return $this->_objFormAnswer; case '_FormAnswerArray': // Gets the value for the private _objFormAnswerArray (Read-Only) // if set due to an ExpandAsArray on the form_answer.signup_entry_id reverse relationship // @return FormAnswer[] return (array) $this->_objFormAnswerArray; case '_SignupPayment': // Gets the value for the private _objSignupPayment (Read-Only) // if set due to an expansion on the signup_payment.signup_entry_id reverse relationship // @return SignupPayment return $this->_objSignupPayment; case '_SignupPaymentArray': // Gets the value for the private _objSignupPaymentArray (Read-Only) // if set due to an ExpandAsArray on the signup_payment.signup_entry_id reverse relationship // @return SignupPayment[] return (array) $this->_objSignupPaymentArray; case '_SignupProduct': // Gets the value for the private _objSignupProduct (Read-Only) // if set due to an expansion on the signup_product.signup_entry_id reverse relationship // @return SignupProduct return $this->_objSignupProduct; case '_SignupProductArray': // Gets the value for the private _objSignupProductArray (Read-Only) // if set due to an ExpandAsArray on the signup_product.signup_entry_id reverse relationship // @return SignupProduct[] return (array) $this->_objSignupProductArray; case '__Restored': return $this->__blnRestored; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }