@param string $name

@return Element\Input\Color
499659
public function addInputColor(string $name) : Element\Input\Color
    {
        $input = new Element\Input\Color($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
1001633
public function honeypot($name)
    {
        $input = $this->input($name, array("name" => $name, "autocomplete" => "off"));
        $wrapperStyles = array(
            "height: 1px",
            "overflow: hidden",
            "padding:1px 0 0 1px",
            "position: absolute",
            "width: 1px",
            "z-index: -1"
        );

        return sprintf('<div class="validation" style="%s">%s</div>', implode("; ", $wrapperStyles), $input);
    }
1173822
public function get(string $name) : string
    {
        $result = $this->configCommand($name);

        return $result->getBufferedOutput()[0];
    }
185789
public function addInputNumber(string $name) : Element\Input\Number
    {
        $input = new Element\Input\Number($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
260373
public function getElement($name)
    {
        $element = $this->createElement($name);

        if (!$this->has('xpath', $element->getXpath())) {
            throw new ElementNotFoundException(sprintf('"%s" element is not present on the page', $name));
        }

        return $element;
    }
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;
	}
1084799
public function color($name, array $options = []): FieldTypeInterface
    {
        return (new ColorType($name))
            ->setLocale($this->app->getLocale())
            ->setViewFactory($this->viewFactory)
            ->setOptions($options);
    }
628643
public function getElement($name)
    {

        if (!isset($this->elements[$name])) {
            throw new InvalidArgumentException(" Element not found : {$name}");
        }

        return $this->elements[$name];
    }
1250911
public static function color($name, $value, array $attributes = array())
    {
        $node = new Node\Color();

        if (!is_null($name)) {
            $attributes['name'] = $name;
        }

        if (!is_null($value)) {
            $attributes['value'] = $value;
        }

        return $node->render($attributes);
    }
587851
public static function fromKey($name)
    {
        foreach (static::values() as $key => $enumInstance) {
            if ($enumInstance->getKey() === $name) {
                return $enumInstance;
            }
        }

        return null;
    }
639995
public function themeOption($name)
    {
        return isset($this->themeOptions[$name]) ? $this->themeOptions[$name] : null;
    }
665666
protected function renderElement(string $name, array $options = []) : string
    {
        return $this->config->getView()
            ->element($name, $options);
    }
612181
public function get($name)
    {
        if (!isset($this->svg[$name])) {
            $this->svg[$name] = new Svg($this->load($name));
        }

        if ($this->svg[$name] !== false) {
            return $this->svg[$name];
        }
    }
1096983
public function addInputEmail(string $name) : Element\Input\Email
    {
        $input = new Element\Input\Email($this, $name);
        $this->addComponent($name, $input);

        return $input;
    }
1090158
public function findTypeElement($name)
    {
        $type = null;

        $elements = $this->xpath('//s:simpleType[@name=%s]|//s:complexType[@name=%s]', $name, $name);
        if ($elements->length > 0) {
            $type = $elements->item(0);
        }

        if (empty($type)) {
            foreach ($this->referereces as $import) {
                $type = $import->findTypeElement($name);
                if (!empty($type)) {
                    break;
                }
            }
        }

        return $type;
    }
1083820
public function getStyle($name, $subname = null)
    {
        $name    = strtolower($name);
        $subname = strtolower($subname);
        
        if (strpos($name, '.') !== false && !$subname) {
            list($name, $subname) = explode('.', $name);
        }
        
        if (($mappings = $this->getStyleMappings()) && isset($mappings[$name])) {
            
            if (!$subname) {
                $subname = $name;
            }
            
            if (is_array($mappings[$name])) {
                return isset($mappings[$name][$subname]) ? $mappings[$name][$subname] : null;
            } else {
                return $mappings[$name];
            }
            
        }
        
        return $name;
    }
1103372
protected function findElement($name)
    {
        try {
            return $this->wd->findElement(WebDriverBy::id($name));
        } catch (\Exception $e) {
        }

        try {
            return $this->wd->findElement(WebDriverBy::name($name));
        } catch (\Exception $e) {
        }

        try {
            return $this->wd->findElement(WebDriverBy::cssSelector($name));
        } catch (\Exception $e) {
        }

        try {
            return $this->wd->findElement(WebDriverBy::xpath($name));
        } catch (\Exception $e) {
        }

        throw new CannotFindElement('Cannot find element: '.$value.' isn\'t visible on the page');
    }