createWidget('FooWidget',array(..config..)) * * Custom widgets should be placed inside the {HOME}/scripts/widgets directory and * can be named FooWidget.php. All widgets must implement this interface. * * Custom Widgets can be invoked from view code as follows: * // Create an instance of the widget (will transparently call __construct) * $myFooWidget = $app->createWidget('FooWidget',array(..config..),true) // true --> custom * * * render()?> * * @author ahart * */ interface Org_Apache_Oodt_Balance_Interfaces_IApplicationWidget { public function __construct($options = array()); /** * Build the HTML output that constitutes the widget. * * @param boolean $bEcho (default = true) If true, the function should * echo the contents directly. If false, the contents should be * returned as a string. */ public function render($bEcho = true); }