/** * 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 'RoleTypeId': // Gets the value for intRoleTypeId (Not Null) // @return integer return $this->intRoleTypeId; case 'PermissionBitmap': // Gets the value for intPermissionBitmap // @return integer return $this->intPermissionBitmap; case 'Username': // Gets the value for strUsername (Unique) // @return string return $this->strUsername; case 'PasswordCache': // Gets the value for strPasswordCache // @return string return $this->strPasswordCache; case 'PasswordLastSet': // Gets the value for strPasswordLastSet // @return string return $this->strPasswordLastSet; case 'DateLastLogin': // Gets the value for dttDateLastLogin // @return QDateTime return $this->dttDateLastLogin; case 'DomainActiveFlag': // Gets the value for blnDomainActiveFlag // @return boolean return $this->blnDomainActiveFlag; case 'LoginActiveFlag': // Gets the value for blnLoginActiveFlag // @return boolean return $this->blnLoginActiveFlag; case 'Email': // Gets the value for strEmail (Unique) // @return string return $this->strEmail; case 'FirstName': // Gets the value for strFirstName // @return string return $this->strFirstName; case 'MiddleInitial': // Gets the value for strMiddleInitial // @return string return $this->strMiddleInitial; case 'LastName': // Gets the value for strLastName // @return string return $this->strLastName; /////////////////// // Member Objects /////////////////// /////////////////// // Member Objects /////////////////// case 'ClassInstructor': // Gets the value for the ClassInstructor object that uniquely references this Login // by objClassInstructor (Unique) // @return ClassInstructor try { if ($this->objClassInstructor === false) { // We've attempted early binding -- and the reverse reference object does not exist return null; } if (!$this->objClassInstructor) { $this->objClassInstructor = ClassInstructor::LoadByLoginId($this->intId); } return $this->objClassInstructor; } 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 '_Ministry': // Gets the value for the private _objMinistry (Read-Only) // if set due to an expansion on the ministry_login_assn association table // @return Ministry return $this->_objMinistry; case '_MinistryArray': // Gets the value for the private _objMinistryArray (Read-Only) // if set due to an ExpandAsArray on the ministry_login_assn association table // @return Ministry[] return (array) $this->_objMinistryArray; case '_CommentAsPostedBy': // Gets the value for the private _objCommentAsPostedBy (Read-Only) // if set due to an expansion on the comment.posted_by_login_id reverse relationship // @return Comment return $this->_objCommentAsPostedBy; case '_CommentAsPostedByArray': // Gets the value for the private _objCommentAsPostedByArray (Read-Only) // if set due to an ExpandAsArray on the comment.posted_by_login_id reverse relationship // @return Comment[] return (array) $this->_objCommentAsPostedByArray; case '_EmailMessageRoute': // Gets the value for the private _objEmailMessageRoute (Read-Only) // if set due to an expansion on the email_message_route.login_id reverse relationship // @return EmailMessageRoute return $this->_objEmailMessageRoute; case '_EmailMessageRouteArray': // Gets the value for the private _objEmailMessageRouteArray (Read-Only) // if set due to an ExpandAsArray on the email_message_route.login_id reverse relationship // @return EmailMessageRoute[] return (array) $this->_objEmailMessageRouteArray; case '_SmsMessage': // Gets the value for the private _objSmsMessage (Read-Only) // if set due to an expansion on the sms_message.login_id reverse relationship // @return SmsMessage return $this->_objSmsMessage; case '_SmsMessageArray': // Gets the value for the private _objSmsMessageArray (Read-Only) // if set due to an ExpandAsArray on the sms_message.login_id reverse relationship // @return SmsMessage[] return (array) $this->_objSmsMessageArray; case '_StewardshipBatchAsCreatedBy': // Gets the value for the private _objStewardshipBatchAsCreatedBy (Read-Only) // if set due to an expansion on the stewardship_batch.created_by_login_id reverse relationship // @return StewardshipBatch return $this->_objStewardshipBatchAsCreatedBy; case '_StewardshipBatchAsCreatedByArray': // Gets the value for the private _objStewardshipBatchAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the stewardship_batch.created_by_login_id reverse relationship // @return StewardshipBatch[] return (array) $this->_objStewardshipBatchAsCreatedByArray; case '_StewardshipContributionAsCreatedBy': // Gets the value for the private _objStewardshipContributionAsCreatedBy (Read-Only) // if set due to an expansion on the stewardship_contribution.created_by_login_id reverse relationship // @return StewardshipContribution return $this->_objStewardshipContributionAsCreatedBy; case '_StewardshipContributionAsCreatedByArray': // Gets the value for the private _objStewardshipContributionAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the stewardship_contribution.created_by_login_id reverse relationship // @return StewardshipContribution[] return (array) $this->_objStewardshipContributionAsCreatedByArray; case '_StewardshipPostAsCreatedBy': // Gets the value for the private _objStewardshipPostAsCreatedBy (Read-Only) // if set due to an expansion on the stewardship_post.created_by_login_id reverse relationship // @return StewardshipPost return $this->_objStewardshipPostAsCreatedBy; case '_StewardshipPostAsCreatedByArray': // Gets the value for the private _objStewardshipPostAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the stewardship_post.created_by_login_id reverse relationship // @return StewardshipPost[] return (array) $this->_objStewardshipPostAsCreatedByArray; case '__Restored': return $this->__blnRestored; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }