Lines Matching refs:node

205             foreach ($treeOrNode as $node) {
206 if (!($node instanceof INode)) {
913 list($propFind, $node) = $propFindRequest;
914 $r = $this->getPropertiesByNode($propFind, $node);
923 $resourceType = $this->getResourceTypeForNode($node);
957 foreach ($nodes as $path => $node) {
960 $r = $this->getPropertiesByNode($propFind, $node);
965 $resourceType = $this->getResourceTypeForNode($node);
989 * @param INode $node
992 function getPropertiesByNode(PropFind $propFind, INode $node) { argument
994 return $this->emit('propFind', [$propFind, $node]);
1055 $node = $this->tree->getNodeForPath($uri);
1063 if (!$this->emit('beforeWriteContent', [$uri, $node, &$data, &$modified])) return false;
1065 $etag = $node->put($data);
1067 $this->emit('afterWriteContent', [$uri, $node]);
1221 $node = null;
1232 $node = $this->tree->getNodeForPath($path);
1248 $etag = $node instanceof IFile ? $node->getETag() : null;
1274 if (!$node) {
1276 $node = $this->tree->getNodeForPath($path);
1288 $etag = $node instanceof IFile ? $node->getETag() : null;
1325 if (is_null($node)) {
1326 $node = $this->tree->getNodeForPath($path);
1328 $lastMod = $node->getLastModified();
1348 if (is_null($node)) {
1349 $node = $this->tree->getNodeForPath($path);
1351 $lastMod = $node->getLastModified();
1407 $node = $this->tree->getNodeForPath($uri);
1408 $etagValid = $node instanceof IFile && $node->getETag() == $token['etag'];
1555 * @param INode $node
1558 function getResourceTypeForNode(INode $node) { argument
1562 if ($node instanceof $className) $result[] = $resourceType;