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