| @@ 1264-1271 (lines=8) @@ | ||
| 1261 | /** |
|
| 1262 | * Creates empty datalist content. |
|
| 1263 | */ |
|
| 1264 | protected function createEmptyContent() |
|
| 1265 | { |
|
| 1266 | if (($classPath = $this->getEmptyRenderer()) !== '') { |
|
| 1267 | $this->getControls()->add(Prado::createComponent($classPath)); |
|
| 1268 | } elseif ($this->_emptyTemplate !== null) { |
|
| 1269 | $this->_emptyTemplate->instantiateIn($this); |
|
| 1270 | } |
|
| 1271 | } |
|
| 1272 | ||
| 1273 | /** |
|
| 1274 | * Applies styles to items, header, footer and separators. |
|
| @@ 562-569 (lines=8) @@ | ||
| 559 | /** |
|
| 560 | * Creates empty repeater content. |
|
| 561 | */ |
|
| 562 | protected function createEmptyContent() |
|
| 563 | { |
|
| 564 | if (($classPath = $this->getEmptyRenderer()) !== '') { |
|
| 565 | $this->getControls()->add(Prado::createComponent($classPath)); |
|
| 566 | } elseif ($this->_emptyTemplate !== null) { |
|
| 567 | $this->_emptyTemplate->instantiateIn($this); |
|
| 568 | } |
|
| 569 | } |
|
| 570 | ||
| 571 | /** |
|
| 572 | * Renders the repeater. |
|