@param mixed $value

@return Htmlable
172122
public function render($value): Htmlable
    {
        $attributes = '';
        foreach ($this->attributes as $key => $val) {
            $attributes .= " {$key}=\"{$val}\"";
        }

        $classes = implode(' ', $this->classes);
        return new HtmlString(
            "<div class=\"input-group {$classes}\"{$attributes}>" .
            ($this->position === self::POSITION_BEFORE ? $this->renderAdditional() : '') .
            $this->control->render($value)->toHtml() .
            ($this->position === self::POSITION_AFTER ? $this->renderAdditional() : '') .
            '</div>'
        );
    }
702088
protected function scalarValue($value)
    {
        if (is_array($value)) {
            $data = array();
            foreach ($value as $key => $childValue) {
                $data[$key] = $this->scalarValue($childValue);
            }

            return $data;
        } else if (is_object($value)) {
            if (method_exists($value, 'toString')) {
                $value = $value->toString();
            } else if (method_exists($value, '__toString')) {
                $value = (string) $value;
            } else {
                $value = spl_object_hash($value);
            }
        }

        return html_entity_decode($value, ENT_NOQUOTES | ENT_HTML5);
    }
1248621
public function setCoreEnableGravatar($value)
    {
        $this->setFieldName('enable_gravatar');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1363813
public function value($value = null)
    {
        $element = clone $this;

        $element->value = $value;

        $element->applyValueToOptions();

        return $element;
    }
466340
protected function containsBadHtml($value)
    {
        return preg_match('/<(code|pre|textarea)/', $value) ||
            preg_match('/<script[^\??>]*>[^<\/script>]/', $value) ||
            preg_match('/<!--[\s]+skip\.minification[\s]+-->/', $value) ||
            preg_match('/value=("|\')(.*)([ ]{2,})(.*)("|\')/', $value);
    }
916931
public function html($element='this', $value='', $immediatly=false) {
		return $this->js->_genericCallValue('html',$element, $value, $immediatly);
	}
321436
public function transform($value)
    {
        /* @var \Twig_Template $template */
        $template = $this->twig->loadTemplate($this->resource);
        $variables = array_replace($this->variables, ['data' => $value]);

        if (null !== $this->blockname) {
            $value = $template->renderBlock($this->blockname, $variables);
        } else {
            $value = $template->render($variables);
        }

        return $value;
    }
668062
static public function formatText($value)
    {
        $value = static::filter_xss($value);
        $value = static::sql_encode($value);
        $value = static::filter_html($value);
        
        return $value;
    }
318886
public function asParagraphs($value)
    {
        if ($value === null) {
            return $this->getNullDisplay();
        }

        return str_replace('<p></p>', '', '<p>' . preg_replace('/\R{2,}/u', "</p>\n<p>", Html::encode($value)) . '</p>');
    }
399215
public function lt($value) {
        $this->rule = $value;
        $this->check_role = 'lt';
        $result = !is_null($this->value) && $this->value < $value;
        $this->checkResult($result);
        return $this;
    }
1175183
public function transform($value)
    {
        if (!$value instanceof Value) {
            return '';
        }

        return $this->docbookToXhtml5EditConverter->convert($value->xml)->saveXML();
    }
1118752
public function format($value)
    {
        if (!$this->validate($value))
            throw new \InvalidArgumentException("`{$value}` is not a valid HTTP URI");

        $url = Http::createFromString($value);

        if ($url->getScheme() == '') {
            $url = $url->withScheme('http');
        }

        return (String)$url;
    }
1024397
public function wrap($value)
    {
        if ($value instanceof Fluent) $value = $value->name;

        return parent::wrap($value);
    }
1109770
protected function createItem($value) {
		$count=\sizeof($this->content);
		$value=new HtmlIcon("icon-".$count, $value);
		$itemO=new HtmlLink("item-".$count,"",$value);
		return $itemO->setClass("item");
	}
637885
private function format($value)
    {
        if (is_callable($this->formatter)) {
            $value = call_user_func($this->formatter, $value, $this->dataSet);
        }
        return $value;
    }
818765
public function convert($value)
    {
        if (! is_object($value)) return $value;

        return $this->formatter($value)->format($value);
    }
444233
public static function make($value)
    {
        $value = static::prepareValue($value);
        $is_negation = static::parseIsNegation($value);
        list($operator, $value) = static::parseOperatorAndValue($value, $is_negation);

        return new static($operator, $value, $is_negation);
    }