aboutsummaryrefslogtreecommitdiffstats
path: root/php/node.php
blob: 6e00a4b50ff4846775525b1ed2bc8f0fd22d14cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php 
require_once "database.php";

	class Node
	{
		public $node_id;
		public $is_directory;
		public $relative_path;
		public $type;
		public $name;
		public $note;
		function __construct($node_id)
		{
			$this->node_id=$node_id;
		}
	}
	class Directory_Node extends Node
	{
		public $node_list;
		/*the path in terms of the simulated filesystem*/
		function __construct(string $abstract_path)
		{
		}
	}

?>