@@ 143-147 (lines=5) @@ | ||
140 | ||
141 | return true; |
|
142 | } else { |
|
143 | foreach ($tableDef['columns'] as $col) { |
|
144 | if (strcasecmp($col['name'], $column)==0) { |
|
145 | return true; |
|
146 | } |
|
147 | } |
|
148 | switch ($position) { |
|
149 | case Tables::POSITION_FIRST: |
|
150 | $pos='FIRST'; |
|
@@ 266-270 (lines=5) @@ | ||
263 | if (isset($this->tables[$table])) { |
|
264 | $tableDef = $this->tables[$table]; |
|
265 | // loop thru and find the column |
|
266 | foreach ($tableDef['columns'] as $col) { |
|
267 | if (strcasecmp($col['name'], $column) === 0) { |
|
268 | return $col['attributes']; |
|
269 | } |
|
270 | } |
|
271 | } |
|
272 | ||
273 | return false; |