Lines Matching refs:node

211             foreach ($treeOrNode as $node) {
212 if (!($node instanceof INode)) {
980 list($propFind, $node) = $propFindRequest;
981 $r = $this->getPropertiesByNode($propFind, $node);
990 $resourceType = $this->getResourceTypeForNode($node);
1022 foreach ($nodes as $path => $node) {
1025 $r = $this->getPropertiesByNode($propFind, $node);
1030 $resourceType = $this->getResourceTypeForNode($node);
1054 * @param INode $node
1057 function getPropertiesByNode(PropFind $propFind, INode $node) { argument
1059 return $this->emit('propFind', [$propFind, $node]);
1120 $node = $this->tree->getNodeForPath($uri);
1128 if (!$this->emit('beforeWriteContent', [$uri, $node, &$data, &$modified])) return false;
1130 $etag = $node->put($data);
1132 $this->emit('afterWriteContent', [$uri, $node]);
1297 $node = null;
1308 $node = $this->tree->getNodeForPath($path);
1324 $etag = $node instanceof IFile ? $node->getETag() : null;
1350 if (!$node) {
1352 $node = $this->tree->getNodeForPath($path);
1364 $etag = $node instanceof IFile ? $node->getETag() : null;
1401 if (is_null($node)) {
1402 $node = $this->tree->getNodeForPath($path);
1404 $lastMod = $node->getLastModified();
1424 if (is_null($node)) {
1425 $node = $this->tree->getNodeForPath($path);
1427 $lastMod = $node->getLastModified();
1483 $node = $this->tree->getNodeForPath($uri);
1484 $etagValid = $node instanceof IFile && $node->getETag() == $token['etag'];
1631 * @param INode $node
1634 function getResourceTypeForNode(INode $node) { argument
1638 if ($node instanceof $className) $result[] = $resourceType;