[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/externalstore/ -> ExternalStoreMwstore.php (summary)

External storage in a file backend. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 100 lines (4 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

ExternalStoreMwstore:: (3 methods):
  fetchFromURL()
  batchFetchFromURLs()
  store()


Class: ExternalStoreMwstore  - X-Ref

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.

fetchFromURL( $url )   X-Ref
The URL returned is of the form of the form mwstore://backend/container/wiki/id


batchFetchFromURLs( array $urls )   X-Ref
Fetch data from given external store URLs.
The URL returned is of the form of the form mwstore://backend/container/wiki/id

param: array $urls An array of external store URLs
return: array A map from url to stored content. Failed results are not represented.

store( $backend, $data )   X-Ref




Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1