MediaWiki REL1_31
|
This interface allows for overriding the default conversion applied by ApiResult::validateValue(). More...
Public Member Functions | |
serializeForApiResult () | |
Return the value to be added to ApiResult in place of this object. | |
This interface allows for overriding the default conversion applied by ApiResult::validateValue().
Definition at line 35 of file ApiSerializable.php.
ApiSerializable::serializeForApiResult | ( | ) |
Return the value to be added to ApiResult in place of this object.
The returned value must not be an object, and must pass all checks done by ApiResult::validateValue().
Implemented in ApiResult.