public function UpdateQueryBuilder(QQueryBuilder $objBuilder) { if ($this->objNode instanceof QQAssociationNode) { $this->objNode->_ChildTableNode->GetColumnAlias($objBuilder, true, null, $this->objSelect); } else { $this->objNode->GetColumnAlias($objBuilder, true, null, $this->objSelect); } $objBuilder->AddExpandAsArrayNode($this->objNode); }
public function __get($strName) { switch ($strName) { case 'Memberid': return new QQNode('memberid', 'Memberid', 'integer', $this); case 'Memberdetails': return new QQNodeMemberdetails('memberid', 'Memberid', 'integer', $this); case '_ChildTableNode': return new QQNodeMemberdetails('memberid', 'Memberid', 'integer', $this); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'GrowthGroupId': return new QQNode('growth_group_id', 'GrowthGroupId', 'integer', $this); case 'GrowthGroup': return new QQNodeGrowthGroup('growth_group_id', 'GrowthGroupId', 'integer', $this); case '_ChildTableNode': return new QQNodeGrowthGroup('growth_group_id', 'GrowthGroupId', 'integer', $this); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'NameItemId': return new QQNode('name_item_id', 'NameItemId', 'integer', $this); case 'NameItem': return new QQNodeNameItem('name_item_id', 'NameItemId', 'integer', $this); case '_ChildTableNode': return new QQNodeNameItem('name_item_id', 'NameItemId', 'integer', $this); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'AttributeOptionId': return new QQNode('attribute_option_id', 'AttributeOptionId', 'integer', $this); case 'AttributeOption': return new QQNodeAttributeOption('attribute_option_id', 'AttributeOptionId', 'integer', $this); case '_ChildTableNode': return new QQNodeAttributeOption('attribute_option_id', 'AttributeOptionId', 'integer', $this); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function __get($strName) { switch ($strName) { case 'CommunicationListId': return new QQNode('communication_list_id', 'CommunicationListId', 'integer', $this); case 'CommunicationList': return new QQNodeCommunicationList('communication_list_id', 'CommunicationListId', 'integer', $this); case '_ChildTableNode': return new QQNodeCommunicationList('communication_list_id', 'CommunicationListId', 'integer', $this); default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
public function UpdateQueryBuilder(QQueryBuilder $objBuilder) { if ($this->objNode instanceof QQAssociationNode) { // The below works because all code generated association nodes will have a _ChildTableNode parameter. $this->objNode->_ChildTableNode->Join($objBuilder, true, $this->objCondition, $this->objSelect); } else { $this->objNode->Join($objBuilder, true, $this->objCondition, $this->objSelect); } $objBuilder->AddExpandAsArrayNode($this->objNode); }