Render text field row

@access public

@param IFormModel $model model
@param string $property model property
@param array $options options array

@return string
518844
public function checkBoxListFieldRow(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $options['id'] = $element['id'];

        return Html::openTag('div', $this->getBlock('block', $options)).
        Html::label($model->getLabel($property), $element['id'], $this->getBlock('label', $options)).
        $this->checkBoxListField($model, $property, $options).
        Html::closeTag('div');
    }
1036436
public function dropDownListField(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $options['id'] = $element['id'];

        if (!empty($element['value'])) {
            $options['selected'] = $element['value'];
        }

        return Html::dropDownList($element['name'], $this->getBlock('elements', $options), $options);
    }
84348
protected function render($options, $fields, $showStart, $showFields, $showEnd)
    {
        $formOptions = $this->formHelper->mergeOptions($this->formOptions, $options);

        $this->setupNamedModel();

        return $this->formHelper->getView()
            ->make($this->formHelper->getConfig('form'))
            ->with(compact('showStart', 'showFields', 'showEnd'))
            ->with('formOptions', $formOptions)
            ->with('fields', $fields)
            ->with('model', $this->getModel())
            ->with('exclude', $this->exclude)
            ->render();
    }
448461
public function textAreaField(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $options['id'] = $element['id'];

        return Html::textArea($element['name'], $element['value'], $options);
    }
1084532
private function renderParentProperty(EnvironmentInterface $environment, $property, $value)
    {
        $evaluation = $property->getExtra();

        if (\is_array($value)) {
            return \implode(', ', $value);
        }

        $isRendered = false;

        $value = $this->renderForCheckbox($property, $value, $isRendered);
        $value = $this->renderForDateTime($environment, $property, $value, $isRendered);
        $value = $this->renderReference($value, $evaluation['reference'], $isRendered);

        $options = $property->getOptions();
        if ($evaluation['isAssociative'] || \array_is_assoc($options)) {
            $value = $options[$value];
        }

        return $value;
    }
307081
public function translateAndEscapeProperty(AbstractRenderable $element, string $property): string
    {
        return $this->escape($this->translateProperty($element, $property));
    }
1101550
public function passwordFieldRow(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $options['id'] = $element['id'];

        return Html::openTag('div', $this->getBlock('block', $options)).
        Html::label($model->getLabel($property), $element['id'], $this->getBlock('label', $options)).
        $this->passwordField($model, $property, $options).
        Html::closeTag('div');
    }
362245
public static function activeTextArea($model, $attribute, $htmlOptions = array())
    {
        $htmlOptions = self::normalizeInputOptions($htmlOptions);
        return parent::activeTextArea($model, $attribute, $htmlOptions);
    }
1118693
public function render($template, $data = [], array $options = []) {
		$defaults = ['context' => []];
		$options += $defaults;

		$context = [];
		$this->_context = $options['context'] + $this->_context;

		foreach (array_keys($this->_context) as $key) {
			$context[$key] = $this->__get($key);
		}
		$data = array_merge($this->_toString($context), $this->_toString($data));
		return Text::insert($template, $data, $options);
	}
81963
function renderTextboxColorField( $args ) {
		unset( $args['label_for'], $args['class'] );
		$this->renderColorField(
			[
				'id' => $args['key'],
				'name' => 'pressbooks_theme_options_' . $this->getSlug(),
				'option' => $args['key'],
				'value' => ( isset( $this->options[ $args['key'] ] ) ) ? $this->options[ $args['key'] ] : $this->defaults[ $args['key'] ],
				'default' => $this->defaults[ $args['key'] ],
				'description' => $args['description'],
			]
		);
	}
1231576
public function formFor($model, $options, Closure $block = null)
    {
        return (new Logic\FormFor())->render($this, $model, $options, $block);
    }
597647
public function passwordField($objectName, $property, array $options = [])
    {
        if (!array_key_exists('value', $options)) {
            $options['value'] = '';
        }
        return $this->formField('password', $objectName, $property, $options);
    }
47846
private function renderForCheckbox(PropertyInterface $property, $value, &$isRendered)
    {
        $evaluation = $property->getExtra();

        if ((true === $isRendered) || $evaluation['multiple'] || !('checkbox' === $property->getWidgetType())) {
            return $value;
        }

        $isRendered = true;

        return !empty($value)
            ? $this->translate('MSC.yes', 'contao_default')
            : $this->translate('MSC.no', 'contao_default');
    }
965109
function renderiBooksField() {
		$this->renderField(
			[
				'id' => 'ibooks',
				'name' => $this->getSlug(),
				'option' => 'ibooks',
				'value' => ( isset( $this->options['ibooks'] ) ) ? $this->options['ibooks'] : '',
				'type' => 'url',
				'class' => 'regular-text code',
			]
		);
	}
393908
public function render($template, $options = array())
  {
    $pre_render = view($template, $options);
    $md = new \Parsedown();

    return $md->text($pre_render);
  }
754840
public function fileFieldRow(IFormModel $model, $property, array $options = [])
    {
        $element = $this->getField($model, $property);
        $options['id'] = $element['id'];

        return Html::openTag('div', $this->getBlock('block', $options)).
        Html::label($model->getLabel($property), $element['id'], $this->getBlock('label', $options)).
        $this->fileField($model, $property, $options).
        Html::closeTag('div');
    }
469287
public function buildConstraint($fieldName, Schema $property, DocumentModel $model, array $options)
    {
        $enumValue = array_reduce(
            $options,
            function ($carry, $option) {
                if ($option->name == 'choices') {
                    return explode('|', $option->value);
                }
            }
        );

        // is this a numeric field? convert values
        if (in_array('integer', $property->getType()->getTypes())) {
            $enumValue = array_map('intval', $enumValue);
        }

        if (is_array($enumValue)) {
            $property->setEnum($enumValue);
        }

        return $property;
    }