/[volute]/trunk/projects/grid/vospace/php_endpoint/backends/file_system/node.php
ViewVC logotype

Contents of /trunk/projects/grid/vospace/php_endpoint/backends/file_system/node.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 730 - (show annotations)
Mon Aug 18 15:21:02 2008 UTC (11 years, 11 months ago) by richard.p.wagner
File size: 557 byte(s)
adding file system backend
1 <?php
2
3 include('config.inc');
4
5 require_once("properties.php");
6
7 class Node {
8
9 public $uri;
10 public $ipath;
11 public $properties;
12
13 function __construct($uri) {
14
15 global $provided_properties;
16
17 $this->uri = $uri;
18 $this->ipath = str_replace( VOSPACE_ROOT, '/vospace', $uri );
19 $this->properties = $provided_properties;
20 $this->properties[0]["_"] = "1";
21
22 }
23
24 function getProperties($detail = "min"){
25
26
27 }
28
29 function exists(){
30 if( $this->uri == 'vos://exmple.org!vospace/foo.txt')
31 return True;
32
33 return False;
34 }
35
36 }
37
38 ?>

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26