public function getQueryStr($queryData = null) {
		$query = (string)$queryData;
		if (!empty($query)) {
			$query = trim($query);
		}

		return $query;
	}
public function getQueryStr($queryData = null) {
		$query = (string)$queryData;
		if (!empty($query)) {
			$query = trim($query);
		}

		return $query;
	}
public function getQueryStr ( $ queryData = null ) { $ query = ( string ) $ queryData ; if ( ! empty ( $ query ) ) { $ query = trim ( $ query ) ; } return $ query ; }
Get query string from string data

@param string $queryData Query data.
@return string Query string
Get query string from string data