Semantic MediaWiki and related extensions
Static Public Member Functions | List of all members
SMW\Utils\ErrorCodeFormatter Class Reference

Static Public Member Functions

static getStringFromJsonErrorCode ( $errorCode)
 
static getMessageFromJsonErrorCode ( $errorCode)
 

Detailed Description

Convenience method to retrieved stringified error codes.

GNU GPL v2+

Since
2.5
Author
mwjames

Member Function Documentation

◆ getMessageFromJsonErrorCode()

static SMW\Utils\ErrorCodeFormatter::getMessageFromJsonErrorCode (   $errorCode)
static
Since
2.5
Parameters
integer$errorCode
Returns
string

◆ getStringFromJsonErrorCode()

static SMW\Utils\ErrorCodeFormatter::getStringFromJsonErrorCode (   $errorCode)
static
See also
http://php.net/manual/en/function.json-decode.php
Since
2.5
Parameters
integer$errorCode
Returns
string

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

About | General disclaimer | Privacy policy