13 parent::__construct( $params );
15 if ( isset( $this->mParams[
'output-as-default'] ) ) {
16 $this->outputAsDefault = (bool)$this->mParams[
'output-as-default'];
19 # Per HTML5 spec, hidden fields cannot be 'required'
21 unset( $this->mParams[
'required'] );
30 if ( $this->outputAsDefault ) {
39 $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)