7 parent::__construct( $params );
9 if ( isset( $this->mParams[
'output-as-default'] ) ) {
10 $this->outputAsDefault = (bool)$this->mParams[
'output-as-default'];
13 # Per HTML5 spec, hidden fields cannot be 'required'
15 unset( $this->mParams[
'required'] );
24 if ( $this->outputAsDefault ) {
33 $this->mParent->addHiddenField( $name, $value, $params );
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
getTableRow( $value)
Get the complete table row for the input, including help text, labels, and whatever.
__construct( $params)
Initialise the object.
canDisplayErrors()
True if this field type is able to display errors; false if validation errors need to be displayed in...
hasVisibleOutput()
If this field has a user-visible output or not.
getHiddenFieldData( $value)