Fix missing commit() flag in postgres savepoint class
[mediawiki.git] / includes / htmlform / fields / HTMLSubmitField.php
blob0c33ad94e04dc5d563048595f53443ca763e49ef
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', 'progressive' ];
12 public function skipLoadData( $request ) {
13 return !$request->getCheck( $this->mName );
16 public function loadDataFromRequest( $request ) {
17 return $request->getCheck( $this->mName );