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 ) {
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)
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list