|
P5EEx-Blue-0.01 | |||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||
![]() |
P5EEx::Blue::Widget::Template |
P5EEx::Blue::Widget::Template - A widget built from a template, rendered by a TemplateEngine
use P5EEx::Blue::Widget::Template;
display()
* Signature: $text = $widget->display();
* Param: void
* Return: $text text
* Throws: P5EEx::Blue::Exception::Widget
* Since: 0.01
Sample Usage:
$text = $widget->display();
Note: By using the P5EEx::Blue::Widget::Template class, the developer or deployer is not making any guarantee about what type of text will be emitted when the template is rendered. If the output were known to be HTML, perhaps the P5EEx::Blue::Widget::HTML::Template would be a better choice of widget class to use instead.