Data model class for widgets. More...
Public Member Functions | |
__construct ($initial=false) | |
Build a ninja widget model. | |
build () | |
Generate a widget given the current configuration May return a Dead_Widget, in case the generated widget failed to instantiate. | |
widget_path () | |
Widget path. | |
__get ($var) | |
Access parameters in old style. | |
Protected Attributes | |
$widget_path_cache = NULL | |
Cache for widget path. |
Data model class for widgets.
Widget_Model::__get | ( | $ | var | ) |
Access parameters in old style.
This is deprecated
Widget_Model::build | ( | ) |
Generate a widget given the current configuration May return a Dead_Widget, in case the generated widget failed to instantiate.
Widget_Model::widget_path | ( | ) |
Widget path.
Exception | When widget with the current name does not seem to be installed. |