Retrieve the meta value of a certain key
519400
public function getMeta($key)
    {
    	$postmeta = $this->postmeta;
    	$postmeta = $postmeta->keyBy('meta_key');
		if(array_has($postmeta, $key . '.meta_value')){
			$returnValue = $postmeta[$key]['meta_value'];
			return $returnValue;
		}
    }
753058
public function getMeta($key = null)
    {
        $meta = '';
        $body = json_decode($this->body, true);

        if (!empty($body) && isset($body['meta'])) {
            if (!empty($key) && isset($body['meta'][$key])) {
                $meta = $body['meta'][$key];
            } else {
                $meta = $body['meta'];
            }
        }

        return $meta;
    }
1153840
function meta( $key )
    {
        $content = array();
        if ( file_exists( $this->MetaFileName ) )
        {
            $content = unserialize( file_get_contents( $this->MetaFileName ) );
        }
        return isset( $content[$key] ) ? $content[$key] : null;
    }
637629
def meta_set(self, key, metafield, value):
        '''  '''
        self._meta.setdefault(key, {})[metafield] = value
        if key in self:
            self[key] = self[key]
871913
def get_metadata(self, key) -> str:
        
        return self.metadata[key] if key in self.metadata else None
1123936
def get_value(self, key, args, kwargs):
        """"""
        if hasattr(self._item, key):
            return getattr(self._item, key)
        return super().get_value(key, args, kwargs)
511552
public function meta($metaKey = '', $single = true)
	{
		$meta_values = get_post_meta($this->ID, $metaKey, $single);

		return $meta_values;
	}
1045098
def _get_metadata_as_string(self):
        """"""
        metalist = []
        for metaname, meta in iteritems(self.metadata):
            message = "Single value in metadata dictionary should be a list!"
            assert isinstance(meta, list), message
            for data in meta:
                if data:
                    metalist.append("!%s_%s = %s" % (self.geotype.capitalize(),
                                                     metaname, data))
        return "\n".join(metalist)
744685
def get(self, key):
        

        match = self._get_match(key=key)

        if not match:
            return None

        return self._get_value_from_match(key=key, match=match)
201453
def get(self, key):
        """"""
        try:
            data = self._data[key]
        except KeyError:
            raise StoreKeyNotFound(key)
        return data
637660
def _get_meta(obj):
        """"""
        if hasattr(obj, 'meta'):  # Spectrum or model
            meta = deepcopy(obj.meta)
        elif isinstance(obj, dict):  # Metadata
            meta = deepcopy(obj)
        else:  # Number
            meta = {}
        return meta
339511
def get_property(self, key):
        """"""
        _key = DJANGO_CONF[key]
        return getattr(self, _key, CONF_SPEC[_key])
919289
public function getMetadata($key = null)
    {
        $meta = stream_get_meta_data($this->buffer);

        if (!isset($key)) {
            return $meta;
        }

        if (isset($meta[$key])) {
            return $meta[$key];
        }
    }
411114
def get_attr_value(self, name):
        ''''''
        if name in self._meta.dfields:
            return self._meta.dfields[name].get_value(self)
        elif not name.startswith('__') and JSPLITTER in name:
            bits = name.split(JSPLITTER)
            fname = bits[0]
            if fname in self._meta.dfields:
                return self._meta.dfields[fname].get_value(self, *bits[1:])
            else:
                return getattr(self, name)
        else:
            return getattr(self, name)
1277206
def get_ladders_metadata(session, parsed):
    """"""
    ladders = {}
    for ladder in parsed.find_all('a', href=re.compile(LADDER_URL_REGEX)):
        ladders[ladder.text] = get_ladder_metadata(session, ladder['href'])
    return ladders
248298
public function get_meta( $key ) {
		$metadata = $this->get_metadata();

		if ( ! array_key_exists( $key, $metadata ) ) {
			return;
		}

		return $metadata[ $key ];
	}
593024
function findMeta(any, key) {
  key = key || 'cql';
  var meta = (any.describe().meta || []).filter(function (m) {
    return key in m;
  });
  return meta[meta.length - 1];
}