aboutsummaryrefslogtreecommitdiffstats
path: root/php/node.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 12:44:12 +0200
committeradam <adam@>2021-02-12 12:44:12 +0200
commit52e1f82a3952766ed8e5706090eec6fe70efeab3 (patch)
tree5572b17b15c58fc4db948f301a39e8d3f7bad5c4 /php/node.php
parentdfcfc5da50c86a936124e820530cb72c93fc1a17 (diff)
downloadfileup-52e1f82a3952766ed8e5706090eec6fe70efeab3.tar.gz
; error
Diffstat (limited to 'php/node.php')
-rw-r--r--php/node.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/php/node.php b/php/node.php
index b6c3428..3c18519 100644
--- a/php/node.php
+++ b/php/node.php
@@ -1,9 +1,21 @@
<?php
require_once "database.php";
- class Current_Directory
+ 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 Current_Directory
+ {
/*an array of the dir_ids taken to reach here*/
public $path;