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

Public Member Functions

 __construct (ApiResult $result)
 
 arrayFromStatus (Status $status, $type= 'error', $format=null)
 
- Public Member Functions inherited from ApiErrorFormatter
 __construct (ApiResult $result, Language $lang, $format, $useDB=false)
 
 addWarning ($moduleName, $msg, $code=null, $data=null)
 
 addError ($moduleName, $msg, $code=null, $data=null)
 
 addMessagesFromStatus ($moduleName, Status $status, $types=[ 'warning', 'error'])
 
 arrayFromStatus (Status $status, $type= 'error', $format=null)
 

Protected Member Functions

 addWarningOrError ($tag, $moduleName, $msg)
 
- Protected Member Functions inherited from ApiErrorFormatter
 getDummyTitle ()
 
 addWarningOrError ($tag, $moduleName, $msg)
 

Additional Inherited Members

- Protected Attributes inherited from ApiErrorFormatter
 $result
 
 $lang
 
 $useDB = false
 
 $format = 'none'
 

Detailed Description

Format errors and warnings in the old style, for backwards compatibility.

Since
1.25
Deprecated:
Only for backwards compatibility, do not use

Constructor & Destructor Documentation

ApiErrorFormatter_BackCompat::__construct ( ApiResult  $result)
Parameters
ApiResult$resultInto which data will be added

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