MediaWiki REL1_30
|
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 37 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.