获取某个元数据的值
@param string $name 元数据名称
@return mixed
557573
public function get($name) {
        return isset($this->metadata[$name]) ? $this->metadata[$name] : null;
    }
747641
public function getElement($name) {
		if (isset($this->elements[$name])) {
			return $this->elements[$name];
		}
		
		$class = 'ZExt\Mvc\View\Helpers\Head\Element' . ucfirst($name);
		
		$element = new $class(
			$this->getBaseStaticPath(),
			$this->getBaseStaticUrl(),
			$this->getMetadataManager()
		);

		if ($this->isStaticHashAppend() && method_exists($element, 'setHashAppend')) {
			$element->setHashAppend();
		}

		$this->elements[$name] = $element;
		return $element;
	}
1117560
public function get($name)
    {
        if ($this->has($name)) {
            $code = $this->getCode($name);

            $this->elements[$code] = $this->resolve($this->elements[$code]);

            return $this->elements[$code];
        }

        throw new \InvalidArgumentException(sprintf('Element "%s" does not exist.', $name));
    }
4024
public function get($name)
    {
        if (empty($this->data[$name])) {
            return null;
        }

        return $this->data[$name];
    }
493621
public function get($name)
    {
        if (strpos($name, '.')) {
            $names = explode('.', $name);
            $node = $this;

            foreach ($names as $n) {
                if ($node instanceof self && property_exists($node, $n)) {
                    $node = $node->$n;
                } else {
                    if ($this->isStrict()) {
                        exit("Stored data don't exists node '$n'\n");
                    }

                    $node = null;
                    break;
                }
            }

            return $node;
        }

        return property_exists($this, $name) ? $this->$name : null;
    }
170470
public function get(string $name)
    {
        if (!isset($this->_data[$name])) {
            return null;
        }

        return $this->_data[$name];
    }
1260923
public function getValues($name)
    {
        $return = [];
        $items  = $this->getItems();

        foreach ($items as $type) {
            $method = 'get' . ucfirst($name);
            if (method_exists($type, $method)) {
                $return[] = $type->$method();
            } else {
                $return[] = $type->{$name};
            }
        }

        return $return;
    }
307378
public static function getValue(string $name)
    {
        $enumerables = self::getCache();

        if (!array_key_exists($name, $enumerables)) {
            throw EnumerableException::nameInvalid($name);
        }

        return $enumerables[$name];
    }
621250
public function get($name = null)
    {
        if ($name === null) {
            $data = $this->data;
            foreach ($this->_expressions as $key => $field) {
                $data[$key] = $field->getValue($this, $this->data);
            }
            foreach ($this->elements as $key => $field) {
                if ($field instanceof Field || $field instanceof Field_Base) {
                    if ($field->defaultValue() !== null && !isset($data[$key])) {
                        $data[$key] = $field->defaultValue();
                    }
                }
            }

            return $data;
        }

        /** @type Field_Base $f */
        $f = $this->hasElement($name);
        if ($this->strict_fields && !$f) {
            throw $this->exception('No such field', 'Logic')
                ->addMoreInfo('field', $name);
        }

        if ($f instanceof Field_Calculated) {
            return $f->getValue($this, $this->data);
        }

        // See if we have data for the field
        if (!$this->loaded() && !@array_key_exists($name, $this->data)) {
            if ($f && $f->has_default_value) {
                return $f->defaultValue();
            }

            if ($this->strict_fields) {
                throw $this->exception('Model field was not loaded')
                    ->addMoreInfo('id', $this->id)
                    ->addMoreInfo('field', $name);
            }

            return;
        }

        return $this->data[$name];
    }
642657
public static function get($name)
    {
        if (isset(self::$_cached_settings[$name])) {
            return self::$_cached_settings[$name];
        }
        return NULL;
    }
97685
public function get($name)
    {
        $found = null;
        /** @var ElementInterface $element */
        foreach ($this->elements as $element) {
            if ($element->getName() == $name) {
                $found = $element;
            }
        }
        return $found;
    }
1003308
public function getArrayElementType($name)
    {
        return  array_key_exists($name ,$this->_arrayElementTypes) ? $this->_arrayElementTypes[$name] : null;
    }
913291
public function getColumnName($name)
    {
        if (isset($this->map[$name])) {
            return $this->map[$name]->getColumn();
        }

        return null;
    }
1249492
public static function element($name) {
        if (isset(static::$html5[$name])) {
            return static::$html5[$name];
        }
        if (isset(static::$svg[$name])) {
            return static::$svg[$name];
        }
        if (isset(static::$mathml[$name])) {
            return static::$mathml[$name];
        }

        return false;
    }
298029
public static function get($name)
    {
        static::isOn(true);

        $item = static::reach($name);

        if (($item['lifetime'] < time() && $item['lifetime'] > 0)) {
            static::remove($name);

            exception(SessionKeyNotFoundException::class, $name);
        } else {
            return $item['object'];
        }
    }
688966
public function get($name)
    {
        return isset($this->collection[$name]) ? $this->collection[$name] : null;
    }
160401
public function getColumn($name)
    {
        $columns = array_filter(
            $this->getColumns(),
            function ($column) use ($name) {
                return $column->getName() === $name;
            }
        );

        return array_pop($columns);
    }