21 $stopPropagation =
true;
22 $preventDefault =
true;
24 $this->parameters[
"immediatly"] =
false;
25 extract($this->parameters);
27 switch ($this->method) {
29 $result .= $js->getDeferred($url, $responseElement, $this->parameters);
32 $result .= $js->postDeferred($url, $params, $responseElement, $this->parameters);
35 $result .= $js->postFormDeferred($url, $form, $responseElement, $this->parameters);
38 $result .= $js->jsonDeferred($url,
$method, $this->parameters);
41 $result .= $js->jsonArrayDeferred($modelSelector, $url,
$method, $this->parameters);
44 $result .= $js->ajaxDeferred($this->method, $url, $responseElement, $this->parameters);