Ajax/common/traits/JsUtilsAjaxTrait.php
public function ajaxInterval($method,$url, $interval,$globalName=null,$responseElement="", $parameters=[]){
		return $this->interval($this->ajaxDeferred($method, $url,$responseElement,$parameters), $interval,$globalName);
	}
public function ajaxInterval($method,$url, $interval,$globalName=null,$responseElement="", $parameters=[]){
		return $this->interval($this->ajaxDeferred($method, $url,$responseElement,$parameters), $interval,$globalName);
	}
public function ajaxInterval ( $ method , $ url , $ interval , $ globalName = null , $ responseElement = "" , $ parameters = [ ] ) { return $ this -> interval ( $ this -> ajaxDeferred ( $ method , $ url , $ responseElement , $ parameters ) , $ interval , $ globalName ) ; }
Executes an ajax query at regular intervals
@param string $method The http method (post, get...)
@param string $url The url of the request
@param int $interval The interval in milliseconds
@param string $globalName The interval name, for clear it
@param string $responseElement
@param array $parameters  The ajax parameters, default : array("params"=>"{}","jsCallback"=>NULL,"attr"=>"id","hasLoader"=>true,"ajaxLoader"=>null,"jqueryDone"=>"html","ajaxTransition"=>null,"jsCondition"=>NULL,"headers"=>null,"historize"=>false)
@return string
Executes an ajax query at regular intervals