17 $info[
'nodata'] =
true;
19 parent::__construct( $info );
23 $default = parent::getDefault();
24 if ( $default instanceof Closure ) {
25 $default = $default( $this->mParams );
35 if ( !empty( $this->mParams[
'raw'] ) ) {
45 if ( !empty( $this->mParams[
'rawrow'] ) ) {
49 return parent::getTableRow(
$value );
58 if ( !empty( $this->mParams[
'rawrow'] ) ) {
62 return parent::getDiv(
$value );
71 if ( !empty( $this->mParams[
'rawrow'] ) ) {
75 return parent::getRaw(
$value );
84 if ( !empty( $this->mParams[
'rawrow'] ) ) {
85 if ( !(
$value instanceof OOUI\FieldLayout ) ) {
86 wfDeprecated(
"'default' parameter as a string when using 'rawrow' " .
87 "(must be a FieldLayout or subclass)",
'1.32' );
92 return parent::getOOUI(
$value );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Throws a warning that $function is deprecated.
An information field (text blob), not a proper input.
getTableRow( $value)
Get the complete table row for the input, including help text, labels, and whatever.
getInputOOUI( $value)
Same as getInputHTML, but returns an OOUI object.
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
needsLabel()
Should this field have a label, or is there no input element with the appropriate id for the label to...