* 'id' -- HTML id attribute
* 'cssclass' -- CSS class
* 'csshelpclass' -- CSS class used to style help text
+ * 'dir' -- Direction of the element.
* 'options' -- associative array mapping labels to values.
* Some field types support multi-level arrays.
* 'options-messages' -- associative array mapping message keys to values.
'table',
'div',
'raw',
+ 'inline',
);
/**
* @return bool
*/
public function isVForm() {
+ wfDeprecated( __METHOD__, '1.25' );
return false;
}
$html = Html::rawElement( 'table',
$attribs,
Html::rawElement( 'tbody', array(), "\n$html\n" ) ) . "\n";
+ } elseif ( $displayFormat === 'inline' ) {
+ $html = Html::rawElement( 'span', $attribs, "\n$html\n" );
} else {
$html = Html::rawElement( 'div', $attribs, "\n$html\n" );
}