Page MenuHomeWickedGov Phorge

HTMLSubmitField.php
No OneTemporary

Size
662 B
Referenced Files
None
Subscribers
None

HTMLSubmitField.php

<?php
namespace MediaWiki\HTMLForm\Field;
/**
* Add a submit button inline in the form (as opposed to
* HTMLForm::addButton(), which will add it at the end).
*
* @stable to extend
*/
class HTMLSubmitField extends HTMLButtonField {
/** @inheritDoc */
protected $buttonType = 'submit';
/** @inheritDoc */
protected $mFlags = [ 'primary', 'progressive' ];
public function skipLoadData( $request ) {
return !$request->getCheck( $this->mName );
}
public function loadDataFromRequest( $request ) {
return $request->getCheck( $this->mName );
}
}
/** @deprecated class alias since 1.42 */
class_alias( HTMLSubmitField::class, 'HTMLSubmitField' );

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 13:19 (1 d, 19 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ce/82/b69bcb9fd9ab2b3628fbfccdadb2
Default Alt Text
HTMLSubmitField.php (662 B)

Event Timeline