MediaWiki
REL1_22
|
File backend accessable external objects. More...
Public Member Functions | |
batchFetchFromURLs (array $urls) | |
Fetch data from given external store URLs. | |
fetchFromURL ($url) | |
The URL returned is of the form of the form mwstore://backend/container/wiki/id. | |
store ($backend, $data) |
File backend accessable external objects.
In this system, each store "location" maps to the name of a file backend. The file backends must be defined in $wgFileBackends and must be global and fully qualified with a global "wikiId" prefix in the configuration.
Definition at line 33 of file ExternalStoreMwstore.php.
Fetch data from given external store URLs.
The URL returned is of the form of the form mwstore://backend/container/wiki/id
array | $urls | An array of external store URLs |
Reimplemented from ExternalStoreMedium.
Definition at line 56 of file ExternalStoreMwstore.php.
References array(), as, FileBackendGroup\get(), and FileBackendGroup\singleton().
ExternalStoreMwstore::fetchFromURL | ( | $ | url | ) |
The URL returned is of the form of the form mwstore://backend/container/wiki/id.
Reimplemented from ExternalStoreMedium.
Definition at line 39 of file ExternalStoreMwstore.php.
References array(), and FileBackendGroup\singleton().
ExternalStoreMwstore::store | ( | $ | backend, |
$ | data | ||
) |
Reimplemented from ExternalStoreMedium.
Definition at line 75 of file ExternalStoreMwstore.php.
References array(), UIDGenerator\newTimestampedUID128(), params, FileBackendGroup\singleton(), wfBaseConvert(), and wfWikiID().