\JMediawikiObjectMock
JMediawikiObjectMock class.
Synopsis
class JMediawikiObjectMock
extends JMediawikiObject
{
- // Inherited members from JMediawikiObject
- protected JRegistry $options;
- protected JMediawikiHttp $client;
- // methods
- public string fetchUrl()
- public string buildParameter()
- public Object validateResponse()
- // Inherited methods from JMediawikiObject
- public void __construct()
- protected string fetchUrl()
- public string buildParameter()
- public Object validateResponse()
Hierarchy
Extends
Members
protected
- $client — JMediawikiHttp
- $options — JRegistry
Methods
public
- buildParameter() — Method to build request parameters from a string array.
- fetchUrl() — Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
- validateResponse() — Method to validate response for errors
Inherited from JMediawikiObject
protected
- fetchUrl() — Method to build and return a full request URL for the request.
public
- buildParameter() — Method to build request parameters from a string array.
- validateResponse() — Method to validate response for errors