Class rex_form_options_element

rex_form_element
Extended by rex_form_options_element

Direct known subclasses

rex_form_checkbox_element, rex_form_radio_element

Abstract
Package: redaxo\core\form
Located at redaxo/src/core/lib/form/elements/options.php

Methods summary

public
# __construct( mixed $tag = '', rex_form_base $table = null, array $attributes = [] )
public
# addOption( mixed $name, mixed $value )
public
# addOptions( array $options, mixed $useOnlyValues = false )
public
# addArrayOptions( array $options, mixed $use_keys = true )
public
# addSqlOptions( mixed $qry )
public
# addDBSqlOptions( mixed $qry )
public

Methods inherited from rex_form_element

_get(), formatClass(), formatElement(), formatLabel(), formatNotice(), get(), getAttribute(), getAttributes(), getFieldName(), getFooter(), getFragment(), getHeader(), getLabel(), getNotice(), getPrefix(), getSaveValue(), getSuffix(), getTag(), getValidator(), getValue(), hasAttribute(), hasSeparateEnding(), setAttribute(), setAttributes(), setDefaultSaveValue(), setFieldName(), setFooter(), setHeader(), setLabel(), setNotice(), setPrefix(), setSuffix(), setValue(), show(), wrapContent()

Properties summary

Properties inherited from rex_form_element

$attributes, $defaultSaveValue, $fieldName, $footer, $header, $label, $notice, $prefix, $separateEnding, $suffix, $table, $tag, $validator, $value