private function _Populate() {
		$this->data = json_decode($this->response);
		
		// getStatus() FALSE upon receiving status ERR or a non-zero error
		// else set as TRUE
		if (is_array($this->data->data)) {
			$this->status = TRUE;
		} else {
			if (isset($this->data->status) && isset($this->data->error)) {
				if (($this->data->status == 'ERR') || ((int) $this->data->error > 0)) {
					$this->status = FALSE;
				} else {
					$this->status = TRUE;
				}
			} else {
				$this->status = FALSE;
			}
		}
		
		if (isset($this->data->error)) {
			$this->error = ((int) $this->data->error > 0 ? (int) $this->data->error : 0);
		} else {
			$this->error = 0;
		}
		
		if (isset($this->data->error_string)) {
			$this->error_string = $this->data->error_string;
		} else {
			$this->error_string = '';
		}
	}
private function _Populate() {
		$this->data = json_decode($this->response);
		
		// getStatus() FALSE upon receiving status ERR or a non-zero error
		// else set as TRUE
		if (is_array($this->data->data)) {
			$this->status = TRUE;
		} else {
			if (isset($this->data->status) && isset($this->data->error)) {
				if (($this->data->status == 'ERR') || ((int) $this->data->error > 0)) {
					$this->status = FALSE;
				} else {
					$this->status = TRUE;
				}
			} else {
				$this->status = FALSE;
			}
		}
		
		if (isset($this->data->error)) {
			$this->error = ((int) $this->data->error > 0 ? (int) $this->data->error : 0);
		} else {
			$this->error = 0;
		}
		
		if (isset($this->data->error_string)) {
			$this->error_string = $this->data->error_string;
		} else {
			$this->error_string = '';
		}
	}
private function _Populate ( ) { $ this -> data = json_decode ( $ this -> response ) ; // getStatus() FALSE upon receiving status ERR or a non-zero error // else set as TRUE if ( is_array ( $ this -> data -> data ) ) { $ this -> status = TRUE ; } else { if ( isset ( $ this -> data -> status ) && isset ( $ this -> data -> error ) ) { if ( ( $ this -> data -> status == 'ERR' ) || ( ( int ) $ this -> data -> error > 0 ) ) { $ this -> status = FALSE ; } else { $ this -> status = TRUE ; } } else { $ this -> status = FALSE ; } } if ( isset ( $ this -> data -> error ) ) { $ this -> error = ( ( int ) $ this -> data -> error > 0 ? ( int ) $ this -> data -> error : 0 ) ; } else { $ this -> error = 0 ; } if ( isset ( $ this -> data -> error_string ) ) { $ this -> error_string = $ this -> data -> error_string ; } else { $ this -> error_string = '' ; } }
Process and populate class for results
Process and populate class for results