| @@ 237-241 (lines=5) @@ | ||
| 234 | // Sub-list is in an element of an array. |
|
| 235 | $subList = $group[$options['group.items']]; |
|
| 236 | ||
| 237 | if (isset($group[$options['group.label']])) |
|
| 238 | { |
|
| 239 | $label = $group[$options['group.label']]; |
|
| 240 | $noGroup = false; |
|
| 241 | } |
|
| 242 | ||
| 243 | if (isset($options['group.id']) && isset($group[$options['group.id']])) |
|
| 244 | { |
|
| @@ 243-247 (lines=5) @@ | ||
| 240 | $noGroup = false; |
|
| 241 | } |
|
| 242 | ||
| 243 | if (isset($options['group.id']) && isset($group[$options['group.id']])) |
|
| 244 | { |
|
| 245 | $id = $group[$options['group.id']]; |
|
| 246 | $noGroup = false; |
|
| 247 | } |
|
| 248 | } |
|
| 249 | elseif (is_object($group)) |
|
| 250 | { |
|
| @@ 254-258 (lines=5) @@ | ||
| 251 | // Sub-list is in a property of an object |
|
| 252 | $subList = $group->$options['group.items']; |
|
| 253 | ||
| 254 | if (isset($group->$options['group.label'])) |
|
| 255 | { |
|
| 256 | $label = $group->$options['group.label']; |
|
| 257 | $noGroup = false; |
|
| 258 | } |
|
| 259 | ||
| 260 | if (isset($options['group.id']) && isset($group->$options['group.id'])) |
|
| 261 | { |
|
| @@ 260-264 (lines=5) @@ | ||
| 257 | $noGroup = false; |
|
| 258 | } |
|
| 259 | ||
| 260 | if (isset($options['group.id']) && isset($group->$options['group.id'])) |
|
| 261 | { |
|
| 262 | $id = $group->$options['group.id']; |
|
| 263 | $noGroup = false; |
|
| 264 | } |
|
| 265 | } |
|
| 266 | else |
|
| 267 | { |
|