14 parent::__construct( $params );
16 if ( isset( $this->mParams[
'output-as-default'] ) ) {
17 $this->outputAsDefault = (bool)$this->mParams[
'output-as-default'];
20 # Per HTML5 spec, hidden fields cannot be 'required'
22 unset( $this->mParams[
'required'] );
31 if ( $this->outputAsDefault ) {
40 $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.
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)