Inheritance: extends QQBaseNode
Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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;
             }
     }
 }
Ejemplo n.º 3
0
 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;
             }
     }
 }
Ejemplo n.º 4
0
 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;
             }
     }
 }
Ejemplo n.º 5
0
 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;
             }
     }
 }
Ejemplo n.º 6
0
 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;
             }
     }
 }
Ejemplo n.º 7
0
 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);
 }