| @@ 1462-1467 (lines=6) @@ | ||
| 1459 | $items->add($this->createItemWithDataInternal($itemIndex, $itemType, $dataItem)); |
|
| 1460 | $itemIndex++; |
|
| 1461 | } |
|
| 1462 | if ($itemIndex > 0) { |
|
| 1463 | $this->_footer = $this->createItemWithDataInternal(-1, TListItemType::Footer, null); |
|
| 1464 | } else { |
|
| 1465 | $this->createEmptyContent(); |
|
| 1466 | $this->dataBindChildren(); |
|
| 1467 | } |
|
| 1468 | $this->setViewState('ItemCount', $itemIndex, 0); |
|
| 1469 | } |
|
| 1470 | ||
| @@ 679-684 (lines=6) @@ | ||
| 676 | $items->add($this->createItemWithDataInternal($itemIndex, $itemType, $dataItem)); |
|
| 677 | $itemIndex++; |
|
| 678 | } |
|
| 679 | if ($itemIndex > 0) { |
|
| 680 | $this->_footer = $this->createItemWithDataInternal(-1, TListItemType::Footer, null); |
|
| 681 | } else { |
|
| 682 | $this->createEmptyContent(); |
|
| 683 | $this->dataBindChildren(); |
|
| 684 | } |
|
| 685 | $this->setViewState('ItemCount', $itemIndex, 0); |
|
| 686 | } |
|
| 687 | ||