User::isSafeToLoad() should return false if MW_NO_SESSION
[mediawiki.git] / includes / htmlform / HTMLSubmitField.php
blob7f90100944a782bf1e80449d7d8ebc670202f552
1 <?php
3 /**
4 * Add a submit button inline in the form (as opposed to
5 * HTMLForm::addButton(), which will add it at the end).
6 */
7 class HTMLSubmitField extends HTMLButtonField {
8 protected $buttonType = 'submit';
10 protected $mFlags = [ 'primary', 'constructive' ];