src/Daursu/Xero/models/BaseModel.php
public function request($method, $url, $params = array(), $xml = "", $format = "")
	{
		if ( !$format) $format = $this->format;

		$response = $this->api->request($method, $url, $params, $xml, $format);
		return $this->parseResponse($response);
	}
public function request($method, $url, $params = array(), $xml = "", $format = "")
	{
		if ( !$format) $format = $this->format;

		$response = $this->api->request($method, $url, $params, $xml, $format);
		return $this->parseResponse($response);
	}
public function request ( $ method , $ url , $ params = array ( ) , $ xml = "" , $ format = "" ) { if ( ! $ format ) $ format = $ this -> format ; $ response = $ this -> api -> request ( $ method , $ url , $ params , $ xml , $ format ) ; return $ this -> parseResponse ( $ response ) ; }
A high level request method used from static methods.

@param  string $method
@param  string $url
@param  array  $params
@param  string $xml
@param  string $format
@return Daursu\Xero\BaseModel
A high level request method used from static methods .