3 * Example class for HTTP accessable external objects
5 * @ingroup ExternalStorage
7 class ExternalStoreHttp
{
8 /* Fetch data from given URL */
9 function fetchFromURL($url) {
10 ini_set( "allow_url_fopen", true );
11 $ret = file_get_contents( $url );
12 ini_set( "allow_url_fopen", false );
16 /* XXX: may require other methods, for store, delete,
17 * whatever, for initial ext storage