mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
📝 Fix some PhpDoc
This commit is contained in:
@@ -910,7 +910,7 @@ EOF
|
||||
|
||||
|
||||
/**
|
||||
* @param \iTopWebPage $oPage
|
||||
* @param \WebPage $oPage
|
||||
* @param bool $bEditMode
|
||||
*
|
||||
* @throws \CoreException
|
||||
@@ -920,8 +920,9 @@ EOF
|
||||
* @throws \MySQLException
|
||||
* @throws \MySQLHasGoneAwayException
|
||||
* @throws \OQLException
|
||||
* @throws \Exception
|
||||
*/
|
||||
function DisplayDetails(WebPage $oPage, $bEditMode = false)
|
||||
public function DisplayDetails(WebPage $oPage, $bEditMode = false)
|
||||
{
|
||||
$sTemplate = Utils::ReadFromFile(MetaModel::GetDisplayTemplate(get_class($this)));
|
||||
if (!empty($sTemplate))
|
||||
@@ -943,6 +944,7 @@ EOF
|
||||
// template not found display the object using the *old style*
|
||||
$oPage->add('<div id="search-widget-results-outer">');
|
||||
$this->DisplayBareHeader($oPage, $bEditMode);
|
||||
/** @var \iTopWebPage $oPage */
|
||||
$oPage->AddTabContainer(OBJECT_PROPERTIES_TAB);
|
||||
$oPage->SetCurrentTabContainer(OBJECT_PROPERTIES_TAB);
|
||||
$oPage->SetCurrentTab(Dict::S('UI:PropertiesTab'));
|
||||
|
||||
10
pages/UI.php
10
pages/UI.php
@@ -125,10 +125,12 @@ function ReloadAndDisplay($oPage, $oObj, $sMessageId = '', $sMessage = '', $sSev
|
||||
|
||||
/**
|
||||
* Displays the details of an object
|
||||
* @param $oP WebPage Page for the output
|
||||
* @param $sClass string The name of the class of the object
|
||||
* @param $oObj DBObject The object to display
|
||||
* @param $id mixed Identifier of the object (name or ID)
|
||||
*
|
||||
* @param WebPage $oP Page for the output
|
||||
* @param string $sClass The name of the class of the object
|
||||
* @param \cmdbAbstractObject $oObj The object to display
|
||||
* @param mixed $id Identifier of the object (name or ID)
|
||||
*
|
||||
* @throws \CoreException
|
||||
* @throws \DictExceptionMissingString
|
||||
* @throws \SecurityException
|
||||
|
||||
Reference in New Issue
Block a user