public function get( $key ) {
		if ( ! in_array( $key, GeotRecord::getValidRecords() ) ) {
			return 'Invalid GeotRecord classname provided. Valids ones are: ' . implode( ',', GeotRecord::getValidRecords() );
		}

		if ( $this->user_data[ $this->cache_key ] === null ) {
			$this->getUserData();
		}

		if ( isset( $this->user_data[ $this->cache_key ]->$key ) ) {
			return $this->user_data[ $this->cache_key ]->$key;
		}

		return false;
	}
public function get( $key ) {
		if ( ! in_array( $key, GeotRecord::getValidRecords() ) ) {
			return 'Invalid GeotRecord classname provided. Valids ones are: ' . implode( ',', GeotRecord::getValidRecords() );
		}

		if ( $this->user_data[ $this->cache_key ] === null ) {
			$this->getUserData();
		}

		if ( isset( $this->user_data[ $this->cache_key ]->$key ) ) {
			return $this->user_data[ $this->cache_key ]->$key;
		}

		return false;
	}
public function get ( $ key ) { if ( ! in_array ( $ key , GeotRecord :: getValidRecords ( ) ) ) { return 'Invalid GeotRecord classname provided. Valids ones are: ' . implode ( ',' , GeotRecord :: getValidRecords ( ) ) ; } if ( $ this -> user_data [ $ this -> cache_key ] === null ) { $ this -> getUserData ( ) ; } if ( isset ( $ this -> user_data [ $ this -> cache_key ] -> $ key ) ) { return $ this -> user_data [ $ this -> cache_key ] -> $ key ; } return false ; }
Get a specif record

@param $key

@return mixed
Get a specif record