Changeset 1857
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/generator/lib/behavior/nestedset/NestedSetBehaviorObjectBuilderModifier.php
r1612 r1857 117 117 $this->addProcessNestedSetQueries($script); 118 118 119 $this->addGetLeft($script); 120 $this->addGetRight($script); 121 $this->addGetLevel($script); 122 if ($this->getParameter('use_scope') == 'true') 123 { 119 if ($this->getColumnPhpName('left_column') != 'LeftValue') { 120 $this->addGetLeft($script); 121 } 122 if ($this->getColumnPhpName('right_column') != 'RightValue') { 123 $this->addGetRight($script); 124 } 125 if ($this->getColumnPhpName('level_column') != 'Level') { 126 $this->addGetLevel($script); 127 } 128 if ($this->getParameter('use_scope') == 'true') { 124 129 $this->addGetScope($script); 125 130 } 126 127 $this->addSetLeft($script); 128 $this->addSetRight($script); 129 $this->addSetLevel($script); 130 if ($this->getParameter('use_scope') == 'true') 131 { 131 132 if ($this->getColumnPhpName('left_column') != 'LeftValue') { 133 $this->addSetLeft($script); 134 } 135 if ($this->getColumnPhpName('right_column') != 'RightValue') { 136 $this->addSetRight($script); 137 } 138 if ($this->getColumnPhpName('level_column') != 'Level') { 139 $this->addSetLevel($script); 140 } 141 if ($this->getParameter('use_scope') == 'true') { 132 142 $this->addSetScope($script); 133 143 } -
branches/1.6/generator/lib/behavior/nestedset/NestedSetBehaviorObjectBuilderModifier.php
r1612 r1857 117 117 $this->addProcessNestedSetQueries($script); 118 118 119 $this->addGetLeft($script); 120 $this->addGetRight($script); 121 $this->addGetLevel($script); 122 if ($this->getParameter('use_scope') == 'true') 123 { 119 if ($this->getColumnPhpName('left_column') != 'LeftValue') { 120 $this->addGetLeft($script); 121 } 122 if ($this->getColumnPhpName('right_column') != 'RightValue') { 123 $this->addGetRight($script); 124 } 125 if ($this->getColumnPhpName('level_column') != 'Level') { 126 $this->addGetLevel($script); 127 } 128 if ($this->getParameter('use_scope') == 'true') { 124 129 $this->addGetScope($script); 125 130 } 126 127 $this->addSetLeft($script); 128 $this->addSetRight($script); 129 $this->addSetLevel($script); 130 if ($this->getParameter('use_scope') == 'true') 131 { 131 132 if ($this->getColumnPhpName('left_column') != 'LeftValue') { 133 $this->addSetLeft($script); 134 } 135 if ($this->getColumnPhpName('right_column') != 'RightValue') { 136 $this->addSetRight($script); 137 } 138 if ($this->getColumnPhpName('level_column') != 'Level') { 139 $this->addSetLevel($script); 140 } 141 if ($this->getParameter('use_scope') == 'true') { 132 142 $this->addSetScope($script); 133 143 }
Note: See TracChangeset
for help on using the changeset viewer.