MediaWiki REL1_34
IManageForm.php
Go to the documentation of this file.
1<?php
2
4
5use HTMLForm;
6use OOUI\Layout;
7use Title;
8use Status;
9
10interface IManageForm {
15 public function hasField( $fieldname );
16
23 public function addHiddenField( $name, $value, array $attribs = [] );
24
29 public function setTitle( $t );
30
35 public function setSubmitCallback( $cb );
36
41 public function show( $layout = null );
42
47 public function onSubmit( array $formData );
48
52 public function onSuccess();
53}
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition HTMLForm.php:131
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition Status.php:40
Represents a title within MediaWiki.
Definition Title.php:42
addHiddenField( $name, $value, array $attribs=[])