Exemplo n.º 1
0
 /**
  * Get the parent folder of the specified folder.
  * 
  * @param String $folderId the Object ID of the folder
  * @returns Object the parent folder.
  * @api CMIS-NavigationServices
  * @since CMIS-1.0
  */
 function getFolderParent($folderId, $options = array())
 {
     //yes
     $myURL = $this->getLink($folderId, LINK_UP);
     $myURL .= $this->GenURLQueryString($options);
     $ret = $this->doGet($myURL);
     $obj = CMISRepositoryWrapper::extractObject($ret->body);
     $this->cacheObjectInfo($obj);
     return $obj;
 }