| @@ 264-266 (lines=3) @@ | ||
| 261 | } |
|
| 262 | } |
|
| 263 | ||
| 264 | if (null == $display || (is_array($display) && 0 == count($display))) { |
|
| 265 | return $this->getAllFields(); |
|
| 266 | } |
|
| 267 | ||
| 268 | if (isset($display[0])) { |
|
| 269 | return $display; |
|
| @@ 318-320 (lines=3) @@ | ||
| 315 | } |
|
| 316 | } |
|
| 317 | ||
| 318 | if (null == $display || (is_array($display) && 0 == count($display))) { |
|
| 319 | $display = $this->getAllFields(); |
|
| 320 | } |
|
| 321 | ||
| 322 | if (isset($display[0])) { |
|
| 323 | $display = array('NONE' => $display); |
|