|
@@ 252-262 (lines=11) @@
|
| 249 |
|
$display = $this->getVariable('display'); |
| 250 |
|
|
| 251 |
|
// tabs |
| 252 |
|
if (null == $display || (is_array($display) && 0 == count($display))) { |
| 253 |
|
$tabs = $this->getVariable('tabs'); |
| 254 |
|
|
| 255 |
|
if (null != $tabs || (is_array($tabs) && 0 < count($tabs))) { |
| 256 |
|
$display = array(); |
| 257 |
|
|
| 258 |
|
foreach ($tabs as $tab) { |
| 259 |
|
$display = array_merge($display, $tab); |
| 260 |
|
} |
| 261 |
|
} |
| 262 |
|
} |
| 263 |
|
|
| 264 |
|
if (null == $display || (is_array($display) && 0 == count($display))) { |
| 265 |
|
return $this->getAllFields(); |
|
@@ 306-316 (lines=11) @@
|
| 303 |
|
$display = $this->getVariable('display'); |
| 304 |
|
|
| 305 |
|
// tabs |
| 306 |
|
if (null == $display || (is_array($display) && 0 == count($display))) { |
| 307 |
|
$tabs = $this->getVariable('tabs'); |
| 308 |
|
|
| 309 |
|
if (null != $tabs || (is_array($tabs) && 0 < count($tabs))) { |
| 310 |
|
$display = array(); |
| 311 |
|
|
| 312 |
|
foreach ($tabs as $tab) { |
| 313 |
|
$display = array_merge($display, $tab); |
| 314 |
|
} |
| 315 |
|
} |
| 316 |
|
} |
| 317 |
|
|
| 318 |
|
if (null == $display || (is_array($display) && 0 == count($display))) { |
| 319 |
|
$display = $this->getAllFields(); |