◆ 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
-
- 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
-
- Returns
- false
The documentation for this class was generated from the following file: