public function role() { $col_name = "association_role_id"; $role = null; if (isset($this->{$col_name}) && is_numeric($this->{$col_name})) { $role_id = $this->{$col_name}; require_once 'class.mt_role.php'; $role = new Role(); $role->Load("role_id = {$role_id}"); } return $role; }
protected function SetupRole() { // Lookup Object PK information from Query String (if applicable) // Set mode to Edit or New depending on what's found $intRoleId = QApplication::QueryString('intRoleId'); if ($intRoleId) { $this->objRole = Role::Load($intRoleId); if (!$this->objRole) { throw new Exception('Could not find a Role object with PK arguments: ' . $intRoleId); } $this->strTitleVerb = QApplication::Translate('Edit'); $this->blnEditMode = true; } else { $this->objRole = new Role(); $this->strTitleVerb = QApplication::Translate('Create'); $this->blnEditMode = false; } }
/** * 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 'RoleEntityBuiltInId': // Gets the value for intRoleEntityBuiltInId (Read-Only PK) // @return integer return $this->intRoleEntityBuiltInId; case 'RoleId': // Gets the value for intRoleId (Not Null) // @return integer return $this->intRoleId; case 'EntityQtypeId': // Gets the value for intEntityQtypeId (Not Null) // @return integer return $this->intEntityQtypeId; case 'AuthorizationId': // Gets the value for intAuthorizationId (Not Null) // @return integer return $this->intAuthorizationId; case 'AuthorizedFlag': // Gets the value for blnAuthorizedFlag (Not Null) // @return boolean return $this->blnAuthorizedFlag; case 'CreatedBy': // Gets the value for intCreatedBy // @return integer return $this->intCreatedBy; case 'CreationDate': // Gets the value for dttCreationDate // @return QDateTime return $this->dttCreationDate; case 'ModifiedBy': // Gets the value for intModifiedBy // @return integer return $this->intModifiedBy; case 'ModifiedDate': // Gets the value for strModifiedDate (Read-Only Timestamp) // @return string return $this->strModifiedDate; /////////////////// // Member Objects /////////////////// /////////////////// // Member Objects /////////////////// case 'Role': // Gets the value for the Role object referenced by intRoleId (Not Null) // @return Role try { if (!$this->objRole && !is_null($this->intRoleId)) { $this->objRole = Role::Load($this->intRoleId); } return $this->objRole; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'Authorization': // Gets the value for the Authorization object referenced by intAuthorizationId (Not Null) // @return Authorization try { if (!$this->objAuthorization && !is_null($this->intAuthorizationId)) { $this->objAuthorization = Authorization::Load($this->intAuthorizationId); } return $this->objAuthorization; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'CreatedByObject': // Gets the value for the UserAccount object referenced by intCreatedBy // @return UserAccount try { if (!$this->objCreatedByObject && !is_null($this->intCreatedBy)) { $this->objCreatedByObject = UserAccount::Load($this->intCreatedBy); } return $this->objCreatedByObject; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'ModifiedByObject': // Gets the value for the UserAccount object referenced by intModifiedBy // @return UserAccount try { if (!$this->objModifiedByObject && !is_null($this->intModifiedBy)) { $this->objModifiedByObject = UserAccount::Load($this->intModifiedBy); } return $this->objModifiedByObject; } 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 '__Restored': return $this->__blnRestored; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
/** * Reload this Role from the database. * @return void */ public function Reload() { // Make sure we are actually Restored from the database if (!$this->__blnRestored) { throw new QCallerException('Cannot call Reload() on a new, unsaved Role object.'); } // Reload the Object $objReloaded = Role::Load($this->intRoleId); // Update $this's local variables to match $this->strShortDescription = $objReloaded->strShortDescription; $this->strLongDescription = $objReloaded->strLongDescription; $this->CreatedBy = $objReloaded->CreatedBy; $this->dttCreationDate = $objReloaded->dttCreationDate; $this->ModifiedBy = $objReloaded->ModifiedBy; $this->strModifiedDate = $objReloaded->strModifiedDate; }
/** * 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 'RoleModuleId': /** * Gets the value for intRoleModuleId (Read-Only PK) * @return integer */ return $this->intRoleModuleId; case 'RoleId': /** * Gets the value for intRoleId (Not Null) * @return integer */ return $this->intRoleId; case 'ModuleId': /** * Gets the value for intModuleId (Not Null) * @return integer */ return $this->intModuleId; case 'AccessFlag': /** * Gets the value for blnAccessFlag (Not Null) * @return boolean */ return $this->blnAccessFlag; case 'CreatedBy': /** * Gets the value for intCreatedBy * @return integer */ return $this->intCreatedBy; case 'CreationDate': /** * Gets the value for dttCreationDate * @return QDateTime */ return $this->dttCreationDate; case 'ModifiedBy': /** * Gets the value for intModifiedBy * @return integer */ return $this->intModifiedBy; case 'ModifiedDate': /** * Gets the value for strModifiedDate (Read-Only Timestamp) * @return string */ return $this->strModifiedDate; /////////////////// // Member Objects /////////////////// /////////////////// // Member Objects /////////////////// case 'Role': /** * Gets the value for the Role object referenced by intRoleId (Not Null) * @return Role */ try { if (!$this->objRole && !is_null($this->intRoleId)) { $this->objRole = Role::Load($this->intRoleId); } return $this->objRole; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'Module': /** * Gets the value for the Module object referenced by intModuleId (Not Null) * @return Module */ try { if (!$this->objModule && !is_null($this->intModuleId)) { $this->objModule = Module::Load($this->intModuleId); } return $this->objModule; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'CreatedByObject': /** * Gets the value for the UserAccount object referenced by intCreatedBy * @return UserAccount */ try { if (!$this->objCreatedByObject && !is_null($this->intCreatedBy)) { $this->objCreatedByObject = UserAccount::Load($this->intCreatedBy); } return $this->objCreatedByObject; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'ModifiedByObject': /** * Gets the value for the UserAccount object referenced by intModifiedBy * @return UserAccount */ try { if (!$this->objModifiedByObject && !is_null($this->intModifiedBy)) { $this->objModifiedByObject = UserAccount::Load($this->intModifiedBy); } return $this->objModifiedByObject; } 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 '_RoleModuleAuthorization': /** * Gets the value for the private _objRoleModuleAuthorization (Read-Only) * if set due to an expansion on the role_module_authorization.role_module_id reverse relationship * @return RoleModuleAuthorization */ return $this->_objRoleModuleAuthorization; case '_RoleModuleAuthorizationArray': /** * Gets the value for the private _objRoleModuleAuthorizationArray (Read-Only) * if set due to an ExpandAsArray on the role_module_authorization.role_module_id reverse relationship * @return RoleModuleAuthorization[] */ return (array) $this->_objRoleModuleAuthorizationArray; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function btnEdit_Click($strFormId, $strControlId, $strParameter) { $strParameterArray = explode(',', $strParameter); $objRole = Role::Load($strParameterArray[0]); $objEditPanel = new RoleEditPanel($this, $this->strCloseEditPanelMethod, $objRole); $strMethodName = $this->strSetEditPanelMethod; $this->objForm->{$strMethodName}($objEditPanel); }
/** * Static Helper Method to Create using PK arguments * You must pass in the PK arguments on an object to load, or leave it blank to create a new one. * If you want to load via QueryString or PathInfo, use the CreateFromQueryString or CreateFromPathInfo * static helper methods. Finally, specify a CreateType to define whether or not we are only allowed to * edit, or if we are also allowed to create a new one, etc. * * @param mixed $objParentObject QForm or QPanel which will be using this RoleMetaControl * @param integer $intRoleId primary key value * @param QMetaControlCreateType $intCreateType rules governing Role object creation - defaults to CreateOrEdit * @return RoleMetaControl */ public static function Create($objParentObject, $intRoleId = null, $intCreateType = QMetaControlCreateType::CreateOrEdit) { // Attempt to Load from PK Arguments if (strlen($intRoleId)) { $objRole = Role::Load($intRoleId); // Role was found -- return it! if ($objRole) { return new RoleMetaControl($objParentObject, $objRole); } else { if ($intCreateType != QMetaControlCreateType::CreateOnRecordNotFound) { throw new QCallerException('Could not find a Role object with PK arguments: ' . $intRoleId); } } // If EditOnly is specified, throw an exception } else { if ($intCreateType == QMetaControlCreateType::EditOnly) { throw new QCallerException('No PK arguments specified'); } } // If we are here, then we need to create a new record return new RoleMetaControl($objParentObject, new Role()); }
/** * 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 'UserAccountId': // Gets the value for intUserAccountId (Read-Only PK) // @return integer return $this->intUserAccountId; case 'FirstName': // Gets the value for strFirstName (Not Null) // @return string return $this->strFirstName; case 'LastName': // Gets the value for strLastName (Not Null) // @return string return $this->strLastName; case 'Username': // Gets the value for strUsername (Unique) // @return string return $this->strUsername; case 'PasswordHash': // Gets the value for strPasswordHash (Not Null) // @return string return $this->strPasswordHash; case 'EmailAddress': // Gets the value for strEmailAddress // @return string return $this->strEmailAddress; case 'ActiveFlag': // Gets the value for blnActiveFlag (Not Null) // @return boolean return $this->blnActiveFlag; case 'AdminFlag': // Gets the value for blnAdminFlag (Not Null) // @return boolean return $this->blnAdminFlag; case 'PortableAccessFlag': // Gets the value for blnPortableAccessFlag // @return boolean return $this->blnPortableAccessFlag; case 'PortableUserPin': // Gets the value for intPortableUserPin // @return integer return $this->intPortableUserPin; case 'RoleId': // Gets the value for intRoleId (Not Null) // @return integer return $this->intRoleId; case 'CreatedBy': // Gets the value for intCreatedBy // @return integer return $this->intCreatedBy; case 'CreationDate': // Gets the value for dttCreationDate // @return QDateTime return $this->dttCreationDate; case 'ModifiedBy': // Gets the value for intModifiedBy // @return integer return $this->intModifiedBy; case 'ModifiedDate': // Gets the value for strModifiedDate (Read-Only Timestamp) // @return string return $this->strModifiedDate; /////////////////// // Member Objects /////////////////// /////////////////// // Member Objects /////////////////// case 'Role': // Gets the value for the Role object referenced by intRoleId (Not Null) // @return Role try { if (!$this->objRole && !is_null($this->intRoleId)) { $this->objRole = Role::Load($this->intRoleId); } return $this->objRole; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'CreatedByObject': // Gets the value for the UserAccount object referenced by intCreatedBy // @return UserAccount try { if (!$this->objCreatedByObject && !is_null($this->intCreatedBy)) { $this->objCreatedByObject = UserAccount::Load($this->intCreatedBy); } return $this->objCreatedByObject; } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } case 'ModifiedByObject': // Gets the value for the UserAccount object referenced by intModifiedBy // @return UserAccount try { if (!$this->objModifiedByObject && !is_null($this->intModifiedBy)) { $this->objModifiedByObject = UserAccount::Load($this->intModifiedBy); } return $this->objModifiedByObject; } 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 '_AddressAsCreatedBy': // Gets the value for the private _objAddressAsCreatedBy (Read-Only) // if set due to an expansion on the address.created_by reverse relationship // @return Address return $this->_objAddressAsCreatedBy; case '_AddressAsCreatedByArray': // Gets the value for the private _objAddressAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the address.created_by reverse relationship // @return Address[] return (array) $this->_objAddressAsCreatedByArray; case '_AddressAsModifiedBy': // Gets the value for the private _objAddressAsModifiedBy (Read-Only) // if set due to an expansion on the address.modified_by reverse relationship // @return Address return $this->_objAddressAsModifiedBy; case '_AddressAsModifiedByArray': // Gets the value for the private _objAddressAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the address.modified_by reverse relationship // @return Address[] return (array) $this->_objAddressAsModifiedByArray; case '_AssetAsModifiedBy': // Gets the value for the private _objAssetAsModifiedBy (Read-Only) // if set due to an expansion on the asset.modified_by reverse relationship // @return Asset return $this->_objAssetAsModifiedBy; case '_AssetAsModifiedByArray': // Gets the value for the private _objAssetAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the asset.modified_by reverse relationship // @return Asset[] return (array) $this->_objAssetAsModifiedByArray; case '_AssetAsCreatedBy': // Gets the value for the private _objAssetAsCreatedBy (Read-Only) // if set due to an expansion on the asset.created_by reverse relationship // @return Asset return $this->_objAssetAsCreatedBy; case '_AssetAsCreatedByArray': // Gets the value for the private _objAssetAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the asset.created_by reverse relationship // @return Asset[] return (array) $this->_objAssetAsCreatedByArray; case '_AssetModelAsModifiedBy': // Gets the value for the private _objAssetModelAsModifiedBy (Read-Only) // if set due to an expansion on the asset_model.modified_by reverse relationship // @return AssetModel return $this->_objAssetModelAsModifiedBy; case '_AssetModelAsModifiedByArray': // Gets the value for the private _objAssetModelAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the asset_model.modified_by reverse relationship // @return AssetModel[] return (array) $this->_objAssetModelAsModifiedByArray; case '_AssetModelAsCreatedBy': // Gets the value for the private _objAssetModelAsCreatedBy (Read-Only) // if set due to an expansion on the asset_model.created_by reverse relationship // @return AssetModel return $this->_objAssetModelAsCreatedBy; case '_AssetModelAsCreatedByArray': // Gets the value for the private _objAssetModelAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the asset_model.created_by reverse relationship // @return AssetModel[] return (array) $this->_objAssetModelAsCreatedByArray; case '_AssetTransactionAsCreatedBy': // Gets the value for the private _objAssetTransactionAsCreatedBy (Read-Only) // if set due to an expansion on the asset_transaction.created_by reverse relationship // @return AssetTransaction return $this->_objAssetTransactionAsCreatedBy; case '_AssetTransactionAsCreatedByArray': // Gets the value for the private _objAssetTransactionAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the asset_transaction.created_by reverse relationship // @return AssetTransaction[] return (array) $this->_objAssetTransactionAsCreatedByArray; case '_AssetTransactionAsModifiedBy': // Gets the value for the private _objAssetTransactionAsModifiedBy (Read-Only) // if set due to an expansion on the asset_transaction.modified_by reverse relationship // @return AssetTransaction return $this->_objAssetTransactionAsModifiedBy; case '_AssetTransactionAsModifiedByArray': // Gets the value for the private _objAssetTransactionAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the asset_transaction.modified_by reverse relationship // @return AssetTransaction[] return (array) $this->_objAssetTransactionAsModifiedByArray; case '_AssetTransactionCheckoutAsToUser': // Gets the value for the private _objAssetTransactionCheckoutAsToUser (Read-Only) // if set due to an expansion on the asset_transaction_checkout.to_user_id reverse relationship // @return AssetTransactionCheckout return $this->_objAssetTransactionCheckoutAsToUser; case '_AssetTransactionCheckoutAsToUserArray': // Gets the value for the private _objAssetTransactionCheckoutAsToUserArray (Read-Only) // if set due to an ExpandAsArray on the asset_transaction_checkout.to_user_id reverse relationship // @return AssetTransactionCheckout[] return (array) $this->_objAssetTransactionCheckoutAsToUserArray; case '_AssetTransactionCheckoutAsCreatedBy': // Gets the value for the private _objAssetTransactionCheckoutAsCreatedBy (Read-Only) // if set due to an expansion on the asset_transaction_checkout.created_by reverse relationship // @return AssetTransactionCheckout return $this->_objAssetTransactionCheckoutAsCreatedBy; case '_AssetTransactionCheckoutAsCreatedByArray': // Gets the value for the private _objAssetTransactionCheckoutAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the asset_transaction_checkout.created_by reverse relationship // @return AssetTransactionCheckout[] return (array) $this->_objAssetTransactionCheckoutAsCreatedByArray; case '_AssetTransactionCheckoutAsModifiedBy': // Gets the value for the private _objAssetTransactionCheckoutAsModifiedBy (Read-Only) // if set due to an expansion on the asset_transaction_checkout.modified_by reverse relationship // @return AssetTransactionCheckout return $this->_objAssetTransactionCheckoutAsModifiedBy; case '_AssetTransactionCheckoutAsModifiedByArray': // Gets the value for the private _objAssetTransactionCheckoutAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the asset_transaction_checkout.modified_by reverse relationship // @return AssetTransactionCheckout[] return (array) $this->_objAssetTransactionCheckoutAsModifiedByArray; case '_AttachmentAsCreatedBy': // Gets the value for the private _objAttachmentAsCreatedBy (Read-Only) // if set due to an expansion on the attachment.created_by reverse relationship // @return Attachment return $this->_objAttachmentAsCreatedBy; case '_AttachmentAsCreatedByArray': // Gets the value for the private _objAttachmentAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the attachment.created_by reverse relationship // @return Attachment[] return (array) $this->_objAttachmentAsCreatedByArray; case '_AuditAsModifiedBy': // Gets the value for the private _objAuditAsModifiedBy (Read-Only) // if set due to an expansion on the audit.modified_by reverse relationship // @return Audit return $this->_objAuditAsModifiedBy; case '_AuditAsModifiedByArray': // Gets the value for the private _objAuditAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the audit.modified_by reverse relationship // @return Audit[] return (array) $this->_objAuditAsModifiedByArray; case '_AuditAsCreatedBy': // Gets the value for the private _objAuditAsCreatedBy (Read-Only) // if set due to an expansion on the audit.created_by reverse relationship // @return Audit return $this->_objAuditAsCreatedBy; case '_AuditAsCreatedByArray': // Gets the value for the private _objAuditAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the audit.created_by reverse relationship // @return Audit[] return (array) $this->_objAuditAsCreatedByArray; case '_CategoryAsModifiedBy': // Gets the value for the private _objCategoryAsModifiedBy (Read-Only) // if set due to an expansion on the category.modified_by reverse relationship // @return Category return $this->_objCategoryAsModifiedBy; case '_CategoryAsModifiedByArray': // Gets the value for the private _objCategoryAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the category.modified_by reverse relationship // @return Category[] return (array) $this->_objCategoryAsModifiedByArray; case '_CategoryAsCreatedBy': // Gets the value for the private _objCategoryAsCreatedBy (Read-Only) // if set due to an expansion on the category.created_by reverse relationship // @return Category return $this->_objCategoryAsCreatedBy; case '_CategoryAsCreatedByArray': // Gets the value for the private _objCategoryAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the category.created_by reverse relationship // @return Category[] return (array) $this->_objCategoryAsCreatedByArray; case '_CompanyAsModifiedBy': // Gets the value for the private _objCompanyAsModifiedBy (Read-Only) // if set due to an expansion on the company.modified_by reverse relationship // @return Company return $this->_objCompanyAsModifiedBy; case '_CompanyAsModifiedByArray': // Gets the value for the private _objCompanyAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the company.modified_by reverse relationship // @return Company[] return (array) $this->_objCompanyAsModifiedByArray; case '_CompanyAsCreatedBy': // Gets the value for the private _objCompanyAsCreatedBy (Read-Only) // if set due to an expansion on the company.created_by reverse relationship // @return Company return $this->_objCompanyAsCreatedBy; case '_CompanyAsCreatedByArray': // Gets the value for the private _objCompanyAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the company.created_by reverse relationship // @return Company[] return (array) $this->_objCompanyAsCreatedByArray; case '_ContactAsModifiedBy': // Gets the value for the private _objContactAsModifiedBy (Read-Only) // if set due to an expansion on the contact.modified_by reverse relationship // @return Contact return $this->_objContactAsModifiedBy; case '_ContactAsModifiedByArray': // Gets the value for the private _objContactAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the contact.modified_by reverse relationship // @return Contact[] return (array) $this->_objContactAsModifiedByArray; case '_ContactAsCreatedBy': // Gets the value for the private _objContactAsCreatedBy (Read-Only) // if set due to an expansion on the contact.created_by reverse relationship // @return Contact return $this->_objContactAsCreatedBy; case '_ContactAsCreatedByArray': // Gets the value for the private _objContactAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the contact.created_by reverse relationship // @return Contact[] return (array) $this->_objContactAsCreatedByArray; case '_CustomFieldAsModifiedBy': // Gets the value for the private _objCustomFieldAsModifiedBy (Read-Only) // if set due to an expansion on the custom_field.modified_by reverse relationship // @return CustomField return $this->_objCustomFieldAsModifiedBy; case '_CustomFieldAsModifiedByArray': // Gets the value for the private _objCustomFieldAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the custom_field.modified_by reverse relationship // @return CustomField[] return (array) $this->_objCustomFieldAsModifiedByArray; case '_CustomFieldAsCreatedBy': // Gets the value for the private _objCustomFieldAsCreatedBy (Read-Only) // if set due to an expansion on the custom_field.created_by reverse relationship // @return CustomField return $this->_objCustomFieldAsCreatedBy; case '_CustomFieldAsCreatedByArray': // Gets the value for the private _objCustomFieldAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the custom_field.created_by reverse relationship // @return CustomField[] return (array) $this->_objCustomFieldAsCreatedByArray; case '_CustomFieldValueAsCreatedBy': // Gets the value for the private _objCustomFieldValueAsCreatedBy (Read-Only) // if set due to an expansion on the custom_field_value.created_by reverse relationship // @return CustomFieldValue return $this->_objCustomFieldValueAsCreatedBy; case '_CustomFieldValueAsCreatedByArray': // Gets the value for the private _objCustomFieldValueAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the custom_field_value.created_by reverse relationship // @return CustomFieldValue[] return (array) $this->_objCustomFieldValueAsCreatedByArray; case '_CustomFieldValueAsModifiedBy': // Gets the value for the private _objCustomFieldValueAsModifiedBy (Read-Only) // if set due to an expansion on the custom_field_value.modified_by reverse relationship // @return CustomFieldValue return $this->_objCustomFieldValueAsModifiedBy; case '_CustomFieldValueAsModifiedByArray': // Gets the value for the private _objCustomFieldValueAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the custom_field_value.modified_by reverse relationship // @return CustomFieldValue[] return (array) $this->_objCustomFieldValueAsModifiedByArray; case '_DatagridColumnPreference': // Gets the value for the private _objDatagridColumnPreference (Read-Only) // if set due to an expansion on the datagrid_column_preference.user_account_id reverse relationship // @return DatagridColumnPreference return $this->_objDatagridColumnPreference; case '_DatagridColumnPreferenceArray': // Gets the value for the private _objDatagridColumnPreferenceArray (Read-Only) // if set due to an ExpandAsArray on the datagrid_column_preference.user_account_id reverse relationship // @return DatagridColumnPreference[] return (array) $this->_objDatagridColumnPreferenceArray; case '_InventoryLocationAsCreatedBy': // Gets the value for the private _objInventoryLocationAsCreatedBy (Read-Only) // if set due to an expansion on the inventory_location.created_by reverse relationship // @return InventoryLocation return $this->_objInventoryLocationAsCreatedBy; case '_InventoryLocationAsCreatedByArray': // Gets the value for the private _objInventoryLocationAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the inventory_location.created_by reverse relationship // @return InventoryLocation[] return (array) $this->_objInventoryLocationAsCreatedByArray; case '_InventoryLocationAsModifiedBy': // Gets the value for the private _objInventoryLocationAsModifiedBy (Read-Only) // if set due to an expansion on the inventory_location.modified_by reverse relationship // @return InventoryLocation return $this->_objInventoryLocationAsModifiedBy; case '_InventoryLocationAsModifiedByArray': // Gets the value for the private _objInventoryLocationAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the inventory_location.modified_by reverse relationship // @return InventoryLocation[] return (array) $this->_objInventoryLocationAsModifiedByArray; case '_InventoryModelAsModifiedBy': // Gets the value for the private _objInventoryModelAsModifiedBy (Read-Only) // if set due to an expansion on the inventory_model.modified_by reverse relationship // @return InventoryModel return $this->_objInventoryModelAsModifiedBy; case '_InventoryModelAsModifiedByArray': // Gets the value for the private _objInventoryModelAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the inventory_model.modified_by reverse relationship // @return InventoryModel[] return (array) $this->_objInventoryModelAsModifiedByArray; case '_InventoryModelAsCreatedBy': // Gets the value for the private _objInventoryModelAsCreatedBy (Read-Only) // if set due to an expansion on the inventory_model.created_by reverse relationship // @return InventoryModel return $this->_objInventoryModelAsCreatedBy; case '_InventoryModelAsCreatedByArray': // Gets the value for the private _objInventoryModelAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the inventory_model.created_by reverse relationship // @return InventoryModel[] return (array) $this->_objInventoryModelAsCreatedByArray; case '_InventoryTransactionAsModifiedBy': // Gets the value for the private _objInventoryTransactionAsModifiedBy (Read-Only) // if set due to an expansion on the inventory_transaction.modified_by reverse relationship // @return InventoryTransaction return $this->_objInventoryTransactionAsModifiedBy; case '_InventoryTransactionAsModifiedByArray': // Gets the value for the private _objInventoryTransactionAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the inventory_transaction.modified_by reverse relationship // @return InventoryTransaction[] return (array) $this->_objInventoryTransactionAsModifiedByArray; case '_InventoryTransactionAsCreatedBy': // Gets the value for the private _objInventoryTransactionAsCreatedBy (Read-Only) // if set due to an expansion on the inventory_transaction.created_by reverse relationship // @return InventoryTransaction return $this->_objInventoryTransactionAsCreatedBy; case '_InventoryTransactionAsCreatedByArray': // Gets the value for the private _objInventoryTransactionAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the inventory_transaction.created_by reverse relationship // @return InventoryTransaction[] return (array) $this->_objInventoryTransactionAsCreatedByArray; case '_LocationAsModifiedBy': // Gets the value for the private _objLocationAsModifiedBy (Read-Only) // if set due to an expansion on the location.modified_by reverse relationship // @return Location return $this->_objLocationAsModifiedBy; case '_LocationAsModifiedByArray': // Gets the value for the private _objLocationAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the location.modified_by reverse relationship // @return Location[] return (array) $this->_objLocationAsModifiedByArray; case '_LocationAsCreatedBy': // Gets the value for the private _objLocationAsCreatedBy (Read-Only) // if set due to an expansion on the location.created_by reverse relationship // @return Location return $this->_objLocationAsCreatedBy; case '_LocationAsCreatedByArray': // Gets the value for the private _objLocationAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the location.created_by reverse relationship // @return Location[] return (array) $this->_objLocationAsCreatedByArray; case '_ManufacturerAsModifiedBy': // Gets the value for the private _objManufacturerAsModifiedBy (Read-Only) // if set due to an expansion on the manufacturer.modified_by reverse relationship // @return Manufacturer return $this->_objManufacturerAsModifiedBy; case '_ManufacturerAsModifiedByArray': // Gets the value for the private _objManufacturerAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the manufacturer.modified_by reverse relationship // @return Manufacturer[] return (array) $this->_objManufacturerAsModifiedByArray; case '_ManufacturerAsCreatedBy': // Gets the value for the private _objManufacturerAsCreatedBy (Read-Only) // if set due to an expansion on the manufacturer.created_by reverse relationship // @return Manufacturer return $this->_objManufacturerAsCreatedBy; case '_ManufacturerAsCreatedByArray': // Gets the value for the private _objManufacturerAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the manufacturer.created_by reverse relationship // @return Manufacturer[] return (array) $this->_objManufacturerAsCreatedByArray; case '_NotificationAsModifiedBy': // Gets the value for the private _objNotificationAsModifiedBy (Read-Only) // if set due to an expansion on the notification.modified_by reverse relationship // @return Notification return $this->_objNotificationAsModifiedBy; case '_NotificationAsModifiedByArray': // Gets the value for the private _objNotificationAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the notification.modified_by reverse relationship // @return Notification[] return (array) $this->_objNotificationAsModifiedByArray; case '_NotificationAsCreatedBy': // Gets the value for the private _objNotificationAsCreatedBy (Read-Only) // if set due to an expansion on the notification.created_by reverse relationship // @return Notification return $this->_objNotificationAsCreatedBy; case '_NotificationAsCreatedByArray': // Gets the value for the private _objNotificationAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the notification.created_by reverse relationship // @return Notification[] return (array) $this->_objNotificationAsCreatedByArray; case '_NotificationUserAccount': // Gets the value for the private _objNotificationUserAccount (Read-Only) // if set due to an expansion on the notification_user_account.user_account_id reverse relationship // @return NotificationUserAccount return $this->_objNotificationUserAccount; case '_NotificationUserAccountArray': // Gets the value for the private _objNotificationUserAccountArray (Read-Only) // if set due to an ExpandAsArray on the notification_user_account.user_account_id reverse relationship // @return NotificationUserAccount[] return (array) $this->_objNotificationUserAccountArray; case '_ReceiptAsCreatedBy': // Gets the value for the private _objReceiptAsCreatedBy (Read-Only) // if set due to an expansion on the receipt.created_by reverse relationship // @return Receipt return $this->_objReceiptAsCreatedBy; case '_ReceiptAsCreatedByArray': // Gets the value for the private _objReceiptAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the receipt.created_by reverse relationship // @return Receipt[] return (array) $this->_objReceiptAsCreatedByArray; case '_ReceiptAsModifiedBy': // Gets the value for the private _objReceiptAsModifiedBy (Read-Only) // if set due to an expansion on the receipt.modified_by reverse relationship // @return Receipt return $this->_objReceiptAsModifiedBy; case '_ReceiptAsModifiedByArray': // Gets the value for the private _objReceiptAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the receipt.modified_by reverse relationship // @return Receipt[] return (array) $this->_objReceiptAsModifiedByArray; case '_RoleAsModifiedBy': // Gets the value for the private _objRoleAsModifiedBy (Read-Only) // if set due to an expansion on the role.modified_by reverse relationship // @return Role return $this->_objRoleAsModifiedBy; case '_RoleAsModifiedByArray': // Gets the value for the private _objRoleAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the role.modified_by reverse relationship // @return Role[] return (array) $this->_objRoleAsModifiedByArray; case '_RoleAsCreatedBy': // Gets the value for the private _objRoleAsCreatedBy (Read-Only) // if set due to an expansion on the role.created_by reverse relationship // @return Role return $this->_objRoleAsCreatedBy; case '_RoleAsCreatedByArray': // Gets the value for the private _objRoleAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the role.created_by reverse relationship // @return Role[] return (array) $this->_objRoleAsCreatedByArray; case '_RoleEntityQtypeBuiltInAuthorizationAsModifiedBy': // Gets the value for the private _objRoleEntityQtypeBuiltInAuthorizationAsModifiedBy (Read-Only) // if set due to an expansion on the role_entity_qtype_built_in_authorization.modified_by reverse relationship // @return RoleEntityQtypeBuiltInAuthorization return $this->_objRoleEntityQtypeBuiltInAuthorizationAsModifiedBy; case '_RoleEntityQtypeBuiltInAuthorizationAsModifiedByArray': // Gets the value for the private _objRoleEntityQtypeBuiltInAuthorizationAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the role_entity_qtype_built_in_authorization.modified_by reverse relationship // @return RoleEntityQtypeBuiltInAuthorization[] return (array) $this->_objRoleEntityQtypeBuiltInAuthorizationAsModifiedByArray; case '_RoleEntityQtypeBuiltInAuthorizationAsCreatedBy': // Gets the value for the private _objRoleEntityQtypeBuiltInAuthorizationAsCreatedBy (Read-Only) // if set due to an expansion on the role_entity_qtype_built_in_authorization.created_by reverse relationship // @return RoleEntityQtypeBuiltInAuthorization return $this->_objRoleEntityQtypeBuiltInAuthorizationAsCreatedBy; case '_RoleEntityQtypeBuiltInAuthorizationAsCreatedByArray': // Gets the value for the private _objRoleEntityQtypeBuiltInAuthorizationAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the role_entity_qtype_built_in_authorization.created_by reverse relationship // @return RoleEntityQtypeBuiltInAuthorization[] return (array) $this->_objRoleEntityQtypeBuiltInAuthorizationAsCreatedByArray; case '_RoleEntityQtypeCustomFieldAuthorizationAsModifiedBy': // Gets the value for the private _objRoleEntityQtypeCustomFieldAuthorizationAsModifiedBy (Read-Only) // if set due to an expansion on the role_entity_qtype_custom_field_authorization.modified_by reverse relationship // @return RoleEntityQtypeCustomFieldAuthorization return $this->_objRoleEntityQtypeCustomFieldAuthorizationAsModifiedBy; case '_RoleEntityQtypeCustomFieldAuthorizationAsModifiedByArray': // Gets the value for the private _objRoleEntityQtypeCustomFieldAuthorizationAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the role_entity_qtype_custom_field_authorization.modified_by reverse relationship // @return RoleEntityQtypeCustomFieldAuthorization[] return (array) $this->_objRoleEntityQtypeCustomFieldAuthorizationAsModifiedByArray; case '_RoleEntityQtypeCustomFieldAuthorizationAsCreatedBy': // Gets the value for the private _objRoleEntityQtypeCustomFieldAuthorizationAsCreatedBy (Read-Only) // if set due to an expansion on the role_entity_qtype_custom_field_authorization.created_by reverse relationship // @return RoleEntityQtypeCustomFieldAuthorization return $this->_objRoleEntityQtypeCustomFieldAuthorizationAsCreatedBy; case '_RoleEntityQtypeCustomFieldAuthorizationAsCreatedByArray': // Gets the value for the private _objRoleEntityQtypeCustomFieldAuthorizationAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the role_entity_qtype_custom_field_authorization.created_by reverse relationship // @return RoleEntityQtypeCustomFieldAuthorization[] return (array) $this->_objRoleEntityQtypeCustomFieldAuthorizationAsCreatedByArray; case '_RoleModuleAsModifiedBy': // Gets the value for the private _objRoleModuleAsModifiedBy (Read-Only) // if set due to an expansion on the role_module.modified_by reverse relationship // @return RoleModule return $this->_objRoleModuleAsModifiedBy; case '_RoleModuleAsModifiedByArray': // Gets the value for the private _objRoleModuleAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the role_module.modified_by reverse relationship // @return RoleModule[] return (array) $this->_objRoleModuleAsModifiedByArray; case '_RoleModuleAsCreatedBy': // Gets the value for the private _objRoleModuleAsCreatedBy (Read-Only) // if set due to an expansion on the role_module.created_by reverse relationship // @return RoleModule return $this->_objRoleModuleAsCreatedBy; case '_RoleModuleAsCreatedByArray': // Gets the value for the private _objRoleModuleAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the role_module.created_by reverse relationship // @return RoleModule[] return (array) $this->_objRoleModuleAsCreatedByArray; case '_RoleModuleAuthorizationAsModifiedBy': // Gets the value for the private _objRoleModuleAuthorizationAsModifiedBy (Read-Only) // if set due to an expansion on the role_module_authorization.modified_by reverse relationship // @return RoleModuleAuthorization return $this->_objRoleModuleAuthorizationAsModifiedBy; case '_RoleModuleAuthorizationAsModifiedByArray': // Gets the value for the private _objRoleModuleAuthorizationAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the role_module_authorization.modified_by reverse relationship // @return RoleModuleAuthorization[] return (array) $this->_objRoleModuleAuthorizationAsModifiedByArray; case '_RoleModuleAuthorizationAsCreatedBy': // Gets the value for the private _objRoleModuleAuthorizationAsCreatedBy (Read-Only) // if set due to an expansion on the role_module_authorization.created_by reverse relationship // @return RoleModuleAuthorization return $this->_objRoleModuleAuthorizationAsCreatedBy; case '_RoleModuleAuthorizationAsCreatedByArray': // Gets the value for the private _objRoleModuleAuthorizationAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the role_module_authorization.created_by reverse relationship // @return RoleModuleAuthorization[] return (array) $this->_objRoleModuleAuthorizationAsCreatedByArray; case '_RoleTransactionTypeAuthorizationAsCreatedBy': // Gets the value for the private _objRoleTransactionTypeAuthorizationAsCreatedBy (Read-Only) // if set due to an expansion on the role_transaction_type_authorization.created_by reverse relationship // @return RoleTransactionTypeAuthorization return $this->_objRoleTransactionTypeAuthorizationAsCreatedBy; case '_RoleTransactionTypeAuthorizationAsCreatedByArray': // Gets the value for the private _objRoleTransactionTypeAuthorizationAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the role_transaction_type_authorization.created_by reverse relationship // @return RoleTransactionTypeAuthorization[] return (array) $this->_objRoleTransactionTypeAuthorizationAsCreatedByArray; case '_RoleTransactionTypeAuthorizationAsModifiedBy': // Gets the value for the private _objRoleTransactionTypeAuthorizationAsModifiedBy (Read-Only) // if set due to an expansion on the role_transaction_type_authorization.modified_by reverse relationship // @return RoleTransactionTypeAuthorization return $this->_objRoleTransactionTypeAuthorizationAsModifiedBy; case '_RoleTransactionTypeAuthorizationAsModifiedByArray': // Gets the value for the private _objRoleTransactionTypeAuthorizationAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the role_transaction_type_authorization.modified_by reverse relationship // @return RoleTransactionTypeAuthorization[] return (array) $this->_objRoleTransactionTypeAuthorizationAsModifiedByArray; case '_ShipmentAsCreatedBy': // Gets the value for the private _objShipmentAsCreatedBy (Read-Only) // if set due to an expansion on the shipment.created_by reverse relationship // @return Shipment return $this->_objShipmentAsCreatedBy; case '_ShipmentAsCreatedByArray': // Gets the value for the private _objShipmentAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the shipment.created_by reverse relationship // @return Shipment[] return (array) $this->_objShipmentAsCreatedByArray; case '_ShipmentAsModifiedBy': // Gets the value for the private _objShipmentAsModifiedBy (Read-Only) // if set due to an expansion on the shipment.modified_by reverse relationship // @return Shipment return $this->_objShipmentAsModifiedBy; case '_ShipmentAsModifiedByArray': // Gets the value for the private _objShipmentAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the shipment.modified_by reverse relationship // @return Shipment[] return (array) $this->_objShipmentAsModifiedByArray; case '_TransactionAsCreatedBy': // Gets the value for the private _objTransactionAsCreatedBy (Read-Only) // if set due to an expansion on the transaction.created_by reverse relationship // @return Transaction return $this->_objTransactionAsCreatedBy; case '_TransactionAsCreatedByArray': // Gets the value for the private _objTransactionAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the transaction.created_by reverse relationship // @return Transaction[] return (array) $this->_objTransactionAsCreatedByArray; case '_TransactionAsModifiedBy': // Gets the value for the private _objTransactionAsModifiedBy (Read-Only) // if set due to an expansion on the transaction.modified_by reverse relationship // @return Transaction return $this->_objTransactionAsModifiedBy; case '_TransactionAsModifiedByArray': // Gets the value for the private _objTransactionAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the transaction.modified_by reverse relationship // @return Transaction[] return (array) $this->_objTransactionAsModifiedByArray; case '_UserAccountAsCreatedBy': // Gets the value for the private _objUserAccountAsCreatedBy (Read-Only) // if set due to an expansion on the user_account.created_by reverse relationship // @return UserAccount return $this->_objUserAccountAsCreatedBy; case '_UserAccountAsCreatedByArray': // Gets the value for the private _objUserAccountAsCreatedByArray (Read-Only) // if set due to an ExpandAsArray on the user_account.created_by reverse relationship // @return UserAccount[] return (array) $this->_objUserAccountAsCreatedByArray; case '_UserAccountAsModifiedBy': // Gets the value for the private _objUserAccountAsModifiedBy (Read-Only) // if set due to an expansion on the user_account.modified_by reverse relationship // @return UserAccount return $this->_objUserAccountAsModifiedBy; case '_UserAccountAsModifiedByArray': // Gets the value for the private _objUserAccountAsModifiedByArray (Read-Only) // if set due to an ExpandAsArray on the user_account.modified_by reverse relationship // @return UserAccount[] return (array) $this->_objUserAccountAsModifiedByArray; case '__Restored': return $this->__blnRestored; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }