Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4069258
HTMLSubmitField.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
702 B
Referenced Files
None
Subscribers
None
HTMLSubmitField.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment