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;
	}
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;
	}
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 ; }
Get the element

@return Head\ElementInterface
Get the element