namespace Combodo\iTop\Application\Dashlet\Core; use Combodo\iTop\Application\UI\Base\Component\Dashlet\DashletContainer; use Dict; use utils; class DashletProxy extends DashletUnknown { /** * @inheritdoc */ public function __construct($oModelReflection, $sId) { parent::__construct($oModelReflection, $sId); // Remove DashletUnknown class if (($key = array_search('dashlet-unknown', $this->aCSSClasses)) !== false) { unset($this->aCSSClasses[$key]); } $this->aCSSClasses[] = 'dashlet-proxy'; } /** * @inheritdoc */ public function Render($oPage, $bEditMode = false, $aExtraParams = []) { // This should never be called. $oDashletContainer = new DashletContainer(null, ['dashlet-content']); $oDashletContainer->AddHtml('