This commit is contained in:
Molkobain
2020-01-21 14:19:45 +01:00
parent c8bb710d21
commit a993f6a80b

View File

@@ -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)
@@ -2851,6 +2858,13 @@ 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)