mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-03 20:26:39 +00:00
5b7a36a521
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
32 lines
535 B
PHP
32 lines
535 B
PHP
<?php
|
|
|
|
/**
|
|
* Do not generate any input element, just accept a value. How that value gets submitted is someone
|
|
* else's responsibility.
|
|
*/
|
|
class HTMLSubmittedValueField extends HTMLFormField {
|
|
public function getTableRow( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function getDiv( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function getRaw( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function getInputHTML( $value ) {
|
|
return '';
|
|
}
|
|
|
|
public function canDisplayErrors() {
|
|
return false;
|
|
}
|
|
|
|
public function hasVisibleOutput() {
|
|
return false;
|
|
}
|
|
}
|