Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | List of all members
PFHelperFormAction Class Reference
Inheritance diagram for PFHelperFormAction:
Inheritance graph
[legend]
Collaboration diagram for PFHelperFormAction:
Collaboration graph
[legend]

Public Member Functions

 getName ()
 
 show ()
 
 execute ()
 

Static Public Member Functions

static displayTab ( $obj, &$links)
 
static displayForm ( $action, $article)
 

Member Function Documentation

◆ displayForm()

static PFHelperFormAction::displayForm (   $action,
  $article 
)
static

The function called if we're in index.php (as opposed to one of the special pages).

Parameters
string$action
Article$article
Returns
false

◆ displayTab()

static PFHelperFormAction::displayTab (   $obj,
$links 
)
static

Adds an "action" (i.e., a tab) to edit the current article with a form

Parameters
Title$obj
array&$links
Returns
bool

◆ execute()

PFHelperFormAction::execute ( )

Execute the action in a silent fashion: do not display anything or release any errors.

Returns
Bool whether execution was successful

◆ getName()

PFHelperFormAction::getName ( )

Return the name of the action this object responds to

Returns
String lowercase

◆ show()

PFHelperFormAction::show ( )

The main action entry point. Do all output for display and send it to the context output. Do not use globals $wgOut, $wgRequest, etc, in implementations; use $this->getOutput(), etc.

Exceptions
ErrorPageError
Returns
false

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy