Subversion Repositories SmartDukaan

Rev

Rev 11681 | Rev 12999 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11681 Rev 11805
Line 42... Line 42...
42
		return function_exists('curl_multi_init');
42
		return function_exists('curl_multi_init');
43
	}
43
	}
44
	// method to add curl requests to the multi request queue
44
	// method to add curl requests to the multi request queue
45
	function add_call($key=null, $method, $url, $params = array(), $options = array())
45
	function add_call($key=null, $method, $url, $params = array(), $options = array())
46
	{
46
	{
47
		//echo 'hello';
-
 
48
		if (is_null($key))
47
		if (is_null($key))
49
		{
48
		{
50
			$key = count($this->calls);
49
			$key = count($this->calls);
51
		}
50
		}
52
		
51