MediaWiki  1.28.0
ExternalStoreHttp Class Reference

Example class for HTTP accessable external objects. More...

Inheritance diagram for ExternalStoreHttp:
Collaboration diagram for ExternalStoreHttp:

Public Member Functions

 fetchFromURL ($url)
 
 store ($cluster, $data)
 
- Public Member Functions inherited from ExternalStoreMedium
 __construct (array $params=[])
 
 batchFetchFromURLs (array $urls)
 Fetch data from given external store URLs. More...
 
 fetchFromURL ($url)
 Fetch data from given external store URL. More...
 
 store ($location, $data)
 Insert a data item into a given location. More...
 

Additional Inherited Members

- Protected Attributes inherited from ExternalStoreMedium
array $params = []
 

Detailed Description

Example class for HTTP accessable external objects.

Only supports reading, not storing.

Definition at line 29 of file ExternalStoreHttp.php.

Member Function Documentation

ExternalStoreHttp::fetchFromURL (   $url)
See also
ExternalStoreMedium::fetchFromURL()

Definition at line 33 of file ExternalStoreHttp.php.

References Http\get().

ExternalStoreHttp::store (   $cluster,
  $data 
)
See also
ExternalStoreMedium::store()

Definition at line 40 of file ExternalStoreHttp.php.


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