From 417e80fe8d7dd4680a4fad04edc12b26fa5f85a7 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Wed, 20 Nov 2019 16:58:01 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B01192=20Deprecate=20usage=20of=20?= =?UTF-8?q?=20and=20=20tags=20in=20action=20rules?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../portal/src/Helper/ContextManipulatorHelper.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/datamodels/2.x/itop-portal-base/portal/src/Helper/ContextManipulatorHelper.php b/datamodels/2.x/itop-portal-base/portal/src/Helper/ContextManipulatorHelper.php index 57fb9f805..bb1ef1071 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/Helper/ContextManipulatorHelper.php +++ b/datamodels/2.x/itop-portal-base/portal/src/Helper/ContextManipulatorHelper.php @@ -16,8 +16,6 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * - * */ namespace Combodo\iTop\Portal\Helper; @@ -81,9 +79,7 @@ class ContextManipulatorHelper * * @throws \DOMFormatException */ - public function __construct( - ModuleDesign $oModuleDesign, RouterInterface $oRouter, BrickCollection $oBrickCollection, ScopeValidatorHelper $oScopeValidator - ) { + public function __construct(ModuleDesign $oModuleDesign, RouterInterface $oRouter, BrickCollection $oBrickCollection, ScopeValidatorHelper $oScopeValidator) { $this->aRules = array(); $this->oRouter = $oRouter; $this->oBrickCollection = $oBrickCollection; @@ -93,7 +89,7 @@ class ContextManipulatorHelper } /** - * Initializes the ScopeValidator by generating and caching the scopes compilation in the $this->sCachePath.$this->sFilename file. + * Initializes the ContextManipulatorHelper by caching action rules in memory. * * @param \DOMNodeList $oNodes * @@ -434,6 +430,9 @@ class ContextManipulatorHelper * 'cancel' => null * ); * + * @since 2.3.0 + * @deprecated 2.7.0 N°1192 Use navigation rules for form callbacks + * * @param array $aData * @param \DBObject $oObject * @param boolean $bModal