21 $parameters = \array_merge([
26 'jsCallback' => $jsCallback,
28 'stopPropagation' =>
false,
29 'preventDefault' =>
false,
30 'responseElement' => null
32 $this->ajaxCall =
new AjaxCall($method, $parameters);
36 $js->exec(
Rule::custom($this->
getType(),
"function(value,ruleValue){var result=true;" . $this->ajaxCall->compile($js) .
"return result;}"),
true);
Ajax$AjaxRule This class is part of phpmv-ui.
static custom($name, $jsFunction)
__construct($type, $url, $params, $jsCallback=null, $method='post', $parameters=[], $prompt=NULL, $value=NULL)
Ajax$CustomRule This class is part of phpmv-ui.