mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
PHPDoc
This commit is contained in:
@@ -2599,10 +2599,10 @@ EOF;
|
|||||||
/**
|
/**
|
||||||
* Transform the file references into the corresponding filename (and create the file in the relevant directory)
|
* Transform the file references into the corresponding filename (and create the file in the relevant directory)
|
||||||
*
|
*
|
||||||
* @param $oNode
|
* @param \MFElement $oNode
|
||||||
* @param $sTempTargetDir
|
* @param string $sTempTargetDir
|
||||||
* @param $sFinalTargetDir
|
* @param string $sFinalTargetDir
|
||||||
* @param $sRelativePath
|
* @param string $sRelativePath
|
||||||
*
|
*
|
||||||
* @throws \DOMFormatException
|
* @throws \DOMFormatException
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
@@ -2643,11 +2643,11 @@ EOF;
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $oBrandingNode
|
* @param \MFElement $oBrandingNode
|
||||||
* @param $sTempTargetDir
|
* @param string $sTempTargetDir
|
||||||
* @param $sFinalTargetDir
|
* @param string $sFinalTargetDir
|
||||||
* @param $sNodeName
|
* @param string $sNodeName
|
||||||
* @param $sTargetFile
|
* @param string $sTargetFile
|
||||||
*
|
*
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
@@ -2666,10 +2666,11 @@ EOF;
|
|||||||
copy($sSourceFile, $sTargetFile);
|
copy($sSourceFile, $sTargetFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $oBrandingNode
|
* @param \MFElement $oBrandingNode
|
||||||
* @param $sTempTargetDir
|
* @param string $sTempTargetDir
|
||||||
* @param $sFinalTargetDir
|
* @param string $sFinalTargetDir
|
||||||
*
|
*
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
@@ -2683,6 +2684,7 @@ EOF;
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Parsing themes
|
// Parsing themes
|
||||||
|
/** @var \DOMNodeList $oThemeNodes */
|
||||||
$oThemeNodes = $oBrandingNode->GetNodes('themes/theme');
|
$oThemeNodes = $oBrandingNode->GetNodes('themes/theme');
|
||||||
foreach($oThemeNodes as $oTheme)
|
foreach($oThemeNodes as $oTheme)
|
||||||
{
|
{
|
||||||
@@ -2762,9 +2764,9 @@ EOF;
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $oBrandingNode
|
* @param \MFElement $oBrandingNode
|
||||||
* @param $sTempTargetDir
|
* @param string $sTempTargetDir
|
||||||
* @param $sFinalTargetDir
|
* @param string $sFinalTargetDir
|
||||||
*
|
*
|
||||||
* @throws \DOMFormatException
|
* @throws \DOMFormatException
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
@@ -2793,6 +2795,11 @@ EOF;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param \MFElement $oPortalsNode
|
||||||
|
* @param string $sTempTargetDir
|
||||||
|
* @param string $sFinalTargetDir
|
||||||
|
*/
|
||||||
protected function CompilePortals($oPortalsNode, $sTempTargetDir, $sFinalTargetDir)
|
protected function CompilePortals($oPortalsNode, $sTempTargetDir, $sFinalTargetDir)
|
||||||
{
|
{
|
||||||
if ($oPortalsNode)
|
if ($oPortalsNode)
|
||||||
@@ -2850,7 +2857,14 @@ EOF;
|
|||||||
{
|
{
|
||||||
return ($aConf1['rank'] < $aConf2['rank']) ? -1 : 1;
|
return ($aConf1['rank'] < $aConf2['rank']) ? -1 : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param \MFElement $oParametersNode
|
||||||
|
* @param string $sTempTargetDir
|
||||||
|
* @param string $sFinalTargetDir
|
||||||
|
*
|
||||||
|
* @throws \Exception
|
||||||
|
*/
|
||||||
protected function CompileParameters($oParametersNode, $sTempTargetDir, $sFinalTargetDir)
|
protected function CompileParameters($oParametersNode, $sTempTargetDir, $sFinalTargetDir)
|
||||||
{
|
{
|
||||||
if ($oParametersNode)
|
if ($oParametersNode)
|
||||||
|
|||||||
Reference in New Issue
Block a user