User editable dashboards... implementation in progress

SVN:trunk[2017]
This commit is contained in:
Denis Flaven
2012-05-24 08:36:29 +00:00
parent b2bf8df779
commit c87368ff42
3 changed files with 87 additions and 13 deletions

View File

@@ -192,6 +192,42 @@ EOF
return $oForm;
}
static public function IsVisible()
{
return true;
}
}
class DashletEmptyCell extends Dashlet
{
public function __construct($sId)
{
parent::__construct($sId);
}
public function Render($oPage, $bEditMode = false, $aExtraParams = array())
{
$oPage->add(' ');
}
public function GetPropertiesFields(DesignerForm $oForm)
{
}
static public function GetInfo()
{
return array(
'label' => 'Empty Cell',
'icon' => 'images/dashlet-text.png',
'description' => 'Empty Cell Dashlet Placeholder',
);
}
static public function IsVisible()
{
return false;
}
}
class DashletHelloWorld extends Dashlet