WikibaseLexeme
MediaWiki WikibaseLexeme extension
Loading...
Searching...
No Matches
Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotFormId Class Reference
+ Inheritance diagram for Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotFormId:
+ Collaboration diagram for Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotFormId:

Public Member Functions

 __construct ( $given)
 
 asApiMessage ( $parameterName, array $path)
 TODO formId can occur as param (formId) or in json (data).
 

Private Attributes

 $given
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotFormId::__construct ( $given)
Parameters
string$given

Member Function Documentation

◆ asApiMessage()

Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotFormId::asApiMessage ( $parameterName,
array $path )

TODO formId can occur as param (formId) or in json (data).

Clean generic $path solution? Proposal: Unification of field and path (fields being first part of path no extra treatment)

See also
ApiError::asApiMessage()

Implements Wikibase\Lexeme\MediaWiki\Api\Error\ApiError.

Member Data Documentation

◆ $given

Wikibase\Lexeme\MediaWiki\Api\Error\ParameterIsNotFormId::$given
private

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