MediaWiki
REL1_34
IManageForm.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Extension\OATHAuth\HTMLForm
;
4
5
use
HTMLForm
;
6
use OOUI\Layout;
7
use
Title
;
8
use
Status
;
9
10
interface
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
}
HTMLForm
Object handling generic submission, CSRF protection, layout and other logic for UI forms in a reusabl...
Definition
HTMLForm.php:131
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:40
Title
Represents a title within MediaWiki.
Definition
Title.php:42
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm
Definition
IManageForm.php:10
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm\onSuccess
onSuccess()
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm\onSubmit
onSubmit(array $formData)
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm\setTitle
setTitle( $t)
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm\show
show( $layout=null)
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm\addHiddenField
addHiddenField( $name, $value, array $attribs=[])
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm\setSubmitCallback
setSubmitCallback( $cb)
MediaWiki\Extension\OATHAuth\HTMLForm\IManageForm\hasField
hasField( $fieldname)
$t
$t
Definition
make-normalization-table.php:143
MediaWiki\Extension\OATHAuth\HTMLForm
Definition
IManageForm.php:3
extensions
OATHAuth
src
HTMLForm
IManageForm.php
Generated on Mon Nov 25 2024 16:04:39 for MediaWiki by
1.10.0