Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5974223
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, Oct 3, 17:13 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5c/a2/64b70fe181a5415293aa516b9ce5
Default Alt Text
HTMLSubmitField.php (662 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment