27 private $uploadTreeTableName;
53 public function __construct($itemId, $uploadTreeTableName, $uploadId, $left, $right)
55 $this->uploadTreeTableName = $uploadTreeTableName;
56 $this->uploadId = (int) $uploadId;
57 $this->left = (int) $left;
58 $this->right = (int) $right;
59 $this->itemId = (int) $itemId;
75 return $this->uploadTreeTableName;
83 return $this->uploadId;
102 public function containsFiles()
104 return $this->right - $this->left > 1;
107 function __toString()
109 return "ItemTreeBounds([" . $this->left .
", " . $this->right .
"] " .
110 "upload " . $this->uploadId .
"@" . $this->uploadTreeTableName .
")";
__construct($itemId, $uploadTreeTableName, $uploadId, $left, $right)