4 * Example class for HTTP accessable external objects.
5 * Only supports reading, not storing.
7 * @ingroup ExternalStorage
9 class ExternalStoreHttp
{
12 * Fetch data from given URL
14 * @param $url String: the URL
15 * @return String: the content at $url
17 function fetchFromURL( $url ) {
18 $ret = Http
::get( $url );
22 /* XXX: may require other methods, for store, delete,
23 * whatever, for initial ext storage