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

Public Member Functions

 __construct ($permission, $errors=[])
 report ()
- Public Member Functions inherited from ErrorPageError
 __construct ($title, $msg, $params=[])
 getMessageObject ()
 report ()
- Public Member Functions inherited from MWException
 useOutputPage ()
 isLoggable ()
 useMessageCache ()
 msg ($key, $fallback)
 getHTML ()
 getText ()
 getPageTitle ()
 reportHTML ()
 report ()
- Public Member Functions inherited from Exception
 __construct ($message="", $code=0, Throwable $previous=null)
 getMessage ()
 getCode ()
 getFile ()
 getLine ()
 getTrace ()
 getPrevious ()
 getTraceAsString ()
 __toString ()

Public Attributes

- Public Attributes inherited from ErrorPageError

Additional Inherited Members

- Static Public Member Functions inherited from MWException
static isCommandLine ()
- Protected Attributes inherited from Exception

Detailed Description

Show an error when a user tries to do something they do not have the necessary permissions for.


Constructor & Destructor Documentation

PermissionsError::__construct (   $permission,
  $errors = [] 
string | null$permissionA permission name or null if unknown
array$errorsError message keys or [key, param...] arrays; must not be empty if $permission is null

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