mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 22:18:46 +02:00
PHPDoc & code cleanup
This commit is contained in:
@@ -35,7 +35,7 @@ class Html extends UIBlock
|
||||
const BLOCK_CODE = 'ibo-html';
|
||||
const HTML_TEMPLATE_REL_PATH = 'components/html/layout';
|
||||
|
||||
/** @var string $sHtml */
|
||||
/** @var string $sHtml The raw HTML, must be already sanitized */
|
||||
protected $sHtml;
|
||||
|
||||
/**
|
||||
@@ -51,6 +51,8 @@ class Html extends UIBlock
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the raw HTML, should have been sanitized
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function GetHtml()
|
||||
@@ -59,7 +61,10 @@ class Html extends UIBlock
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the raw HTML, must be already sanitized
|
||||
*
|
||||
* @param string $sHtml
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function SetHtml($sHtml)
|
||||
|
||||
@@ -57,6 +57,8 @@ class PageContentFactory
|
||||
$oLayout = new PageContentWithSideContent();
|
||||
|
||||
// Add object details layout
|
||||
// TODO
|
||||
|
||||
// Add object activity layout
|
||||
$oActivityPanel = ActivityPanelFactory::MakeForObjectDetails($oObject);
|
||||
$oLayout->AddSideBlock($oActivityPanel);
|
||||
|
||||
@@ -149,7 +149,7 @@ abstract class UIBlock implements iUIBlock
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @return \Combodo\iTop\Application\UI\UIBlock[]
|
||||
* @return \Combodo\iTop\Application\UI\iUIBlock[]
|
||||
*/
|
||||
public function GetSubBlocks()
|
||||
{
|
||||
|
||||
@@ -80,6 +80,7 @@ interface iUIBlock
|
||||
|
||||
/**
|
||||
* Return an array iUIBlock embedded in this iUIBlock
|
||||
* Must be an associative array (<BLOCK_ID> => <BLOCK_INSTANCE>)
|
||||
*
|
||||
* @return \Combodo\iTop\Application\UI\iUIBlock[]
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user