FOF30\Form\Field\Timezone::getStatic PHP Méthode

getStatic() public méthode

Get the rendering of this field type for static display, e.g. in a single item view (typically a "read" task).
Since: 2.0
public getStatic ( ) : string
Résultat string The field HTML
    public function getStatic()
    {
        if (isset($this->element['legacy'])) {
            return $this->getInput();
        }
        $options = array('id' => $this->id);
        return $this->getFieldContents($options);
    }