sending json using post method, got by getData()  but can't use in sendData() 

	/*in case of sending json using post method the class can get this object by getData()
				but can not use the gathered info in sendData() */
				if($this->data){
					$params['data'] = $this->data;
				}
				$result = call_user_func_array(array($obj, $method), $params);