PM-4099: Add the possibility to Replace a custom 'New Case' menu

correccion de observaciones

correccion observaciones y mejoras

.
This commit is contained in:
marcelo.cuiza
2015-11-19 13:08:51 -04:00
parent a0cfee2611
commit 4cd772c402
3 changed files with 77 additions and 3 deletions

View File

@@ -396,6 +396,25 @@ class PMPlugin
throw $e;
}
}
/**
* Changes the menu properties from the given processmaker section and menu id
*
* @param array $from
*
* @param array $options
*
* @return void
*/
public function registerMenuOptionsToReplace($from = array(), $options = array())
{
try {
$oPluginRegistry =& PMPluginRegistry::getSingleton();
$oPluginRegistry->registerMenuOptionsToReplace($this->sNamespace, $from, $options);
} catch (Exception $e) {
throw $e;
}
}
}
class menuDetail
@@ -735,4 +754,3 @@ class cronFile
$this->cronFile = $cronFile;
}
}