Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (DIWikiPage $subject) | |
addToSemanticData (SemanticData $semanticData, DIContainer $container=null) | |
newErrorContainerFromMsg ( $error, DIProperty $property=null) | |
newErrorContainerFromDataValue (DataValue $dataValue) | |
Static Public Member Functions | |
static | grepPropertyFromRestrictionErrorMsg ( $message) |
static | normalizeAndDecodeMessages (array $messages, $type=null, $language=null) |
static | getMessagesAsString (array $messages, $type=null, $language=null) |
The handler encodes errors into a representation that can be retrieved from the back-end and turn it into a string representation at a convenient time.
GNU GPL v2+
SMW\ProcessingErrorMsgHandler::__construct | ( | DIWikiPage | $subject | ) |
DIWikiPage | $subject |
SMW\ProcessingErrorMsgHandler::addToSemanticData | ( | SemanticData | $semanticData, |
DIContainer | $container = null |
||
) |
SemanticData | $semanticData | |
DIContainer | null | $container |
|
static |
array | $messages | |
integer | null | $type | |
integer | null | $language |
|
static |
string | $message |
SMW\ProcessingErrorMsgHandler::newErrorContainerFromDataValue | ( | DataValue | $dataValue | ) |
DataValue | $dataValue |
SMW\ProcessingErrorMsgHandler::newErrorContainerFromMsg | ( | $error, | |
DIProperty | $property = null |
||
) |
|
static |
Turns an encoded array of messages or text elements into a compacted array with msg keys and arguments.
array | $messages | |
integer | null | $type | |
integer | null | $language |