GetId())); } /** * @param \Combodo\iTop\Application\UI\iUIBlock $oSubBlock * * @return iUIContentBlock * @throws \Combodo\iTop\Application\UI\UIException */ public function AddSubBlock(iUIBlock $oSubBlock): iUIContentBlock { throw new UIException($this, Dict::Format('UIBlock:Error:AddBlockForbidden', $this->GetId())); } /** * @return array|\Combodo\iTop\Application\UI\iUIBlock[] */ public function GetSubBlocks(): array { return []; } /** * @param mixed $sURL * * @return AjaxTab */ public function SetURL(string $sURL): self { $this->sURL = $sURL; return $this; } /** * @param mixed $bCache * * @return AjaxTab */ public function SetCache(string $bCache): self { $this->bCache = $bCache; return $this; } /** * @return mixed */ public function GetURL() { return $this->sURL; } /** * @return mixed */ public function GetCache() { return $this->bCache ? 'true' : 'false'; } }