FOF30\Form\Field\Integer::getRepeatable PHP 메소드

getRepeatable() 공개 메소드

Get the rendering of this field type for a repeatable (grid) display, e.g. in a view listing many item (typically a "browse" task)
부터: 2.0
public getRepeatable ( ) : string
리턴 string The field HTML
    public function getRepeatable()
    {
        if (isset($this->element['legacy'])) {
            return $this->getInput();
        }
        $class = $this->class ? $this->class : '';
        return '<span class="' . $this->id . ' ' . $class . '">' . htmlspecialchars(GenericList::getOptionName($this->getOptions(), $this->value), ENT_COMPAT, 'UTF-8') . '</span>';
    }