N°1192 Deprecate usage of <submit> and <cancel> tags in action rules

This commit is contained in:
Molkobain
2019-11-20 16:58:01 +01:00
parent c203e6c7be
commit 417e80fe8d

View File

@@ -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