/** * {@inheritDoc} */ public function getReferences($path, $name = null) { $this->logger->startCall(__FUNCTION__, func_get_args()); $result = $this->transport->getReferences($path, $name); $this->logger->stopCall(); return $result; }
/** * Returns all accessible REFERENCE properties in the workspace that point * to the node * * @param string $path the path of the referenced node * @param string $name name of referring REFERENCE properties to be * returned; if null then all referring REFERENCEs are returned * * @return ArrayIterator * * @see Node::getReferences() */ public function getReferences($path, $name = null) { // TODO: should we not use getFetchPath() ? $references = $this->transport->getReferences($this->resolveBackendPath($path), $name); // path guaranteed to be normalized and absolute return $this->pathArrayToPropertiesIterator($references); }
/** * Returns all accessible REFERENCE properties in the workspace that point * to the node * * @param string $path the path of the referenced node * @param string $name name of referring REFERENCE properties to be * returned; if null then all referring REFERENCEs are returned * * @return ArrayIterator * * @see Node::getReferences() */ public function getReferences($path, $name = null) { $references = $this->transport->getReferences($this->getFetchPath($path, 'Node'), $name); return $this->pathArrayToPropertiesIterator($references); }