BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PFHelperFormAction Class Reference
Inheritance diagram for PFHelperFormAction:
Collaboration diagram for PFHelperFormAction:

Public Member Functions

 getName ()
 
 show ()
 
 execute ()
 
- Public Member Functions inherited from Action
 getContext ()
 
 getRequest ()
 
 getOutput ()
 
 getUser ()
 
 getSkin ()
 
 getLanguage ()
 
 getTitle ()
 
 msg ($key)
 
 __construct (Page $page, IContextSource $context=null)
 
 getName ()
 
 getRestriction ()
 
 requiresWrite ()
 
 requiresUnblock ()
 
 addHelpLink ($to, $overrideBaseUrl=false)
 
 show ()
 
 doesWrites ()
 

Static Public Member Functions

static displayTab ($obj, &$content_actions)
 
static displayTab2 ($obj, &$links)
 
static displayForm ($action, $article)
 
- Static Public Member Functions inherited from Action
static factory ($action, Page $page, IContextSource $context=null)
 
static getActionName (IContextSource $context)
 
static exists ($name)
 

Additional Inherited Members

- Protected Member Functions inherited from Action
 checkCanExecute (User $user)
 
 setHeaders ()
 
 getPageTitle ()
 
 getDescription ()
 
 useTransactionalTimeLimit ()
 
- Protected Attributes inherited from Action
 $page
 
 $context
 
 $fields
 

Member Function Documentation

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

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

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

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

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

Like displayTab(), but called with a different hook - this one is called for the 'Vector' skin, and others.

PFHelperFormAction::execute ( )

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

Returns
Bool whether execution was successful
PFHelperFormAction::getName ( )

Return the name of the action this object responds to

Returns
String lowercase
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

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