Page MenuHomeWickedGov Phorge

HTMLSubmitField.php
No OneTemporary

Size
702 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' ];
/** @inheritDoc */
public function skipLoadData( $request ) {
return !$request->getCheck( $this->mName );
}
/** @inheritDoc */
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
Aug 16 2026, 21:44 (11 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b9/cd/4874df21b302184c1a2c3fc9e703
Default Alt Text
HTMLSubmitField.php (702 B)

Event Timeline