Render number field row

@access public

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

@return string
173518
public function numberFieldRow(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->numberField($model, $property, $options).
        Html::closeTag('div');
    }
400078
public function monthFieldRow(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->monthField($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;
    }
513739
public function def(array $options=[]) {
		if(!$this->widget)
			throw new \Exception('No default render function for this field');
		return $this->render($this->widget, $options);
	}
720813
public function renderProperty($model, $property, $view, $form = null)
    {
        return $this->render(
            $this->convertView($view),
            [
                'model' => $model,
                'property' => $property,
                'form' => $form
            ]
        );
    }
212882
public function renderFields($fieldset = null, $group = null, array $options = [])
    {
        $output = '';

        foreach ($this->getFields($fieldset, $group) as $field) {
            $output .= "\n" . $field->render($options);
        }

        return $output;
    }
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');
    }
467062
protected static function renderOptionArrayValueAsString(array $optionValue)
    {
        $values = [];
        foreach ($optionValue as $k => $v) {
            $value = '';
            if (is_string($k)) {
                $value .= '"' . $k . '"=';
            }
            if (is_object($v)) {
                $value .= self::renderAnnotation($v);
            } elseif (is_array($v)) {
                $value .= self::renderOptionArrayValueAsString($v);
            } elseif (is_scalar($v) && is_string($v)) {
                $value .= '"' . $v . '"';
            } elseif (is_bool($v)) {
                $value .= $v ? 'true' : 'false';
            } elseif (is_scalar($v)) {
                $value .= $v;
            }
            $values[] = $value;
        }
        return '{ ' . implode(', ', $values) . ' }';
    }
779425
public function searchFieldRow(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->searchField($model, $property, $options).
        Html::closeTag('div');
    }
30430
private function renderProperties(MetadataInterface $metadata, array $options)
    {
        $this->setDefaultValuesOnMetadata($metadata, $options['defaults']);

        $renderedProperties = [];
        foreach (array_keys($metadata->toArray()) as $propertyKey) {
            $propertyValue = $this->propertyAccessor->getValue($metadata, $propertyKey);

            if (null === $propertyValue) {
                continue;
            }

            $this->ensurePropertyIsKnown($metadata, $propertyKey);

            $renderedProperties[] = $this->renderProperty($propertyKey, $propertyValue);
        }

        return $renderedProperties;
    }
308275
static public function renderField($value, array $options, $item)
    {
        if (empty($options['name'])) {
            return '';
        }
        if (empty($value) || !is_array($value)) {
            return '';
        }

        if (!$item instanceof EntityInterface) {
            return '';
        }

        $output = field_view_field($item->getEntityTypeId(), $item, $options['name'], self::LIST_VIEW_MODE);

        return drupal_render($output);
    }
1132361
public function timeFieldRow(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->timeField($model, $property, $options).
        Html::closeTag('div');
    }
494099
private function processProperty($property, array $options)
    {
        if (null === $property) {
            return null;
        }

        if ($property instanceof MetadataInterface) {
            $this->process($property, $options);

            return $property;
        }

        if (is_array($property)) {
            foreach ($property as $key => &$value) {
                $value = $this->processProperty($value, $options);
            }

            return $property;
        }

        return $this->twig->createTemplate((string) $property)->render($options);
    }
393908
public function render($template, $options = array())
  {
    $pre_render = view($template, $options);
    $md = new \Parsedown();

    return $md->text($pre_render);
  }
529218
public function checkboxFieldRow(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->checkBoxField($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);
    }
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');
    }