framework/Web/UI/WebControls/TDataList.php 1 location
|
@@ 584-591 (lines=8) @@
|
| 581 |
|
* @param ITemplate $value the footer template |
| 582 |
|
* @throws TInvalidDataTypeException if the input is not an {@link ITemplate} or not null. |
| 583 |
|
*/ |
| 584 |
|
public function setFooterTemplate($value) |
| 585 |
|
{ |
| 586 |
|
if ($value instanceof ITemplate || $value === null) { |
| 587 |
|
$this->_footerTemplate = $value; |
| 588 |
|
} else { |
| 589 |
|
throw new TInvalidDataTypeException('datalist_template_required', 'FooterTemplate'); |
| 590 |
|
} |
| 591 |
|
} |
| 592 |
|
|
| 593 |
|
/** |
| 594 |
|
* @return TTableItemStyle the style for footer |
framework/Web/UI/WebControls/TRepeater.php 1 location
|
@@ 355-362 (lines=8) @@
|
| 352 |
|
* @param ITemplate $value the footer template |
| 353 |
|
* @throws TInvalidDataTypeException if the input is not an {@link ITemplate} or not null. |
| 354 |
|
*/ |
| 355 |
|
public function setFooterTemplate($value) |
| 356 |
|
{ |
| 357 |
|
if ($value instanceof \Prado\Web\UI\ITemplate || $value === null) { |
| 358 |
|
$this->_footerTemplate = $value; |
| 359 |
|
} else { |
| 360 |
|
throw new TInvalidDataTypeException('repeater_template_required', 'FooterTemplate'); |
| 361 |
|
} |
| 362 |
|
} |
| 363 |
|
|
| 364 |
|
/** |
| 365 |
|
* @return ITemplate the template applied when no data is bound to the repeater |
framework/Web/UI/WebControls/TTemplateColumn.php 1 location
|
@@ 176-183 (lines=8) @@
|
| 173 |
|
* @param ITemplate $value the footer template |
| 174 |
|
* @throws TInvalidDataTypeException if the input is not an {@link ITemplate} or not null. |
| 175 |
|
*/ |
| 176 |
|
public function setFooterTemplate($value) |
| 177 |
|
{ |
| 178 |
|
if ($value instanceof ITemplate || $value === null) { |
| 179 |
|
$this->_footerTemplate = $value; |
| 180 |
|
} else { |
| 181 |
|
throw new TInvalidDataTypeException('templatecolumn_template_required', 'FooterTemplate'); |
| 182 |
|
} |
| 183 |
|
} |
| 184 |
|
|
| 185 |
|
/** |
| 186 |
|
* Initializes the specified cell to its initial values. |