Class WidgetClient
Simplifies the creation of widgets for the client interface
- Html
-
WidgetClient
Package: blesta\helpers\widget\client
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at helpers/widget_client/widget_client.php
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at helpers/widget_client/widget_client.php
Methods summary
public
|
|
public
|
|
public
|
#
setLinkButtons( array $link_buttons )
Sets navigation buttons along with Widget::setLinks(). This method may only be used in addition with Widget::setLinks() |
public
|
#
setWidgetButton( mixed $button )
Set a widget button to be displayed in the title bar of the widget |
public
|
#
setStyleSheet( string $path, array $attributes = null )
Sets a style sheet to be linked into the document |
public
|
|
public
|
#
autoStartBody( boolean $auto_start )
Sets whether or not the body panel should start when WidgetClient::create() is called |
public
mixed
|
#
create( string $title = null, array $attributes = null, string $render = null )
Creates the widget with the given title and attributes |
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
|
#
setOutput( boolean $return )
Set whether to return $output generated by these methods, or to echo it out instead |
Methods inherited from Html
_()
,
addCondition()
,
buildAttributes()
,
concat()
,
hyperlink()
,
ifSet()
,
isUtf8()
,
safe()