MediaWiki REL1_31
|
Accessable external objects in a particular storage medium. More...
Public Member Functions | |
__construct (array $params=[]) | |
batchFetchFromURLs (array $urls) | |
Fetch data from given external store URLs. | |
fetchFromURL ( $url) | |
Fetch data from given external store URL. | |
isReadOnly ( $location) | |
Check if a given location is read-only. | |
store ( $location, $data) | |
Insert a data item into a given location. | |
Protected Attributes | |
array | $params = [] |
Accessable external objects in a particular storage medium.
Definition at line 30 of file ExternalStoreMedium.php.
ExternalStoreMedium::__construct | ( | array | $params = [] | ) |
array | $params | Usage context options:
|
Definition at line 38 of file ExternalStoreMedium.php.
References $params.
ExternalStoreMedium::batchFetchFromURLs | ( | array | $urls | ) |
Fetch data from given external store URLs.
array | $urls | A list of external store URLs |
Reimplemented in ExternalStoreDB, and ExternalStoreMwstore.
Definition at line 57 of file ExternalStoreMedium.php.
References $retval, $urls, and fetchFromURL().
|
abstract |
Fetch data from given external store URL.
string | $url | An external store URL |
MWException |
Reimplemented in ExternalStoreDB, ExternalStoreHttp, and ExternalStoreMwstore.
Referenced by batchFetchFromURLs().
ExternalStoreMedium::isReadOnly | ( | $location | ) |
Check if a given location is read-only.
string | $location | The location name |
Reimplemented in ExternalStoreMwstore, ExternalStoreDB, and ExternalStoreHttp.
Definition at line 88 of file ExternalStoreMedium.php.
|
abstract |
Insert a data item into a given location.
string | $location | The location name |
string | $data | The data item |
MWException |
Reimplemented in ExternalStoreMwstore, ExternalStoreDB, and ExternalStoreHttp.
|
protected |
Definition at line 32 of file ExternalStoreMedium.php.
Referenced by __construct().