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

...ata()

	/*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);