Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 5
CRAP
0.00% covered (danger)
0.00%
0 / 1
HTMLApiField
0.00% covered (danger)
0.00%
0 / 5
0.00% covered (danger)
0.00%
0 / 5
30
0.00% covered (danger)
0.00%
0 / 1
 getTableRow
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getDiv
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getRaw
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 getInputHTML
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 hasVisibleOutput
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace MediaWiki\HTMLForm\Field;
4
5use MediaWiki\HTMLForm\HTMLFormField;
6
7/**
8 * @stable to extend
9 */
10class HTMLApiField extends HTMLFormField {
11    public function getTableRow( $value ) {
12        return '';
13    }
14
15    public function getDiv( $value ) {
16        return $this->getTableRow( $value );
17    }
18
19    public function getRaw( $value ) {
20        return $this->getTableRow( $value );
21    }
22
23    public function getInputHTML( $value ) {
24        return '';
25    }
26
27    public function hasVisibleOutput() {
28        return false;
29    }
30}
31
32/** @deprecated class alias since 1.42 */
33class_alias( HTMLApiField::class, 'HTMLApiField' );