09-27-2010 05:54 AM
$sessionQuery = new Session($repository, $ticket);
print_r($sessionQuery->queryParents($currentNode));
public function queryParents($node)
{
// Create the store
$result = $this->repositoryService->queryParents(array("node" => $node));
// Return the newly created store
return $result;
}
10-06-2010 05:32 AM
public function queryParents($store, $nodeId)
{
$result = $this->repositoryService->queryParents(array(
"node"=>array(
"store"=>$store->__toArray(),
"protocol"=>$store->scheme,
"path"=>$store->address,
"uuid"=>$nodeId
)
));
$resultSet = $result->queryReturn->resultSet;
return $this->resultSetToNodes($this, $store, $resultSet);
}
$spacesStore = new SpacesStore($session);
$nodeUuid = "fc2ef8d5-0ff3-463d-8e64-a8c266ebec5d";
$result = $session->queryParents($spacesStore, $nodeUuid);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.