MediaWiki
1.33.0
|
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. More... | |
fetchFromURL ( $url) | |
Fetch data from given external store URL. More... | |
isReadOnly ( $location) | |
Check if a given location is read-only. More... | |
store ( $location, $data) | |
Insert a data item into a given location. More... | |
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 $data, as, and fetchFromURL().
|
abstract |
Fetch data from given external store URL.
string | $url | An external store URL |
MWException |
Reimplemented in ExternalStoreDB, ExternalStoreMwstore, and ExternalStoreHttp.
Referenced by batchFetchFromURLs().
ExternalStoreMedium::isReadOnly | ( | $location | ) |
Check if a given location is read-only.
string | $location | The location name |
Reimplemented in ExternalStoreDB, ExternalStoreHttp, and ExternalStoreMwstore.
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 ExternalStoreDB, ExternalStoreHttp, and ExternalStoreMwstore.
|
protected |
Definition at line 32 of file ExternalStoreMedium.php.
Referenced by __construct().