You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by ri...@apache.org on 2011/06/12 21:21:23 UTC

svn commit: r1134962 - in /chemistry/phpclient: ./ trunk/lib/cmis_repository_wrapper.php

Author: richardm
Date: Sun Jun 12 19:21:23 2011
New Revision: 1134962

URL: http://svn.apache.org/viewvc?rev=1134962&view=rev
Log:
Fix part of CMIS-276

Modified:
    chemistry/phpclient/   (props changed)
    chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php

Propchange: chemistry/phpclient/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sun Jun 12 19:21:23 2011
@@ -0,0 +1 @@
+

Modified: chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php
URL: http://svn.apache.org/viewvc/chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php?rev=1134962&r1=1134961&r2=1134962&view=diff
==============================================================================
--- chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php (original)
+++ chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php Sun Jun 12 19:21:23 2011
@@ -810,11 +810,11 @@ class CMISService extends CMISRepository
         return $obj;
     }
     //Navigation Services
-    function getFolderTree($objectId, $depth, $options = array ())
+    function getFolderTree($folderId, $depth, $options = array ())
     {
         $hash_values = $options;
         $hash_values['depth'] = $depth;
-        $myURL = $this->getLink($objectId, "http://docs.oasis-open.org/ns/cmis/link/200908/foldertree");
+        $myURL = $this->getLink($folderId, "http://docs.oasis-open.org/ns/cmis/link/200908/foldertree");
         $myURL = CMISRepositoryWrapper :: getOpUrl ($myURL, $hash_values);
         $ret = $this->doGet($myURL);
         $objs = $this->extractObjectFeed($ret->body);
@@ -822,11 +822,11 @@ class CMISService extends CMISRepository
         return $objs;
     }
 
-    function getDescendants($objectId, $depth, $options = array ())
+    function getDescendants($folderId, $depth, $options = array ())
     { // Nice to have
         $hash_values = $options;
         $hash_values['depth'] = $depth;
-        $myURL = $this->getLink($objectId, "down-tree");
+        $myURL = $this->getLink($folderId, "down-tree");
         $myURL = CMISRepositoryWrapper :: getOpUrl ($myURL, $hash_values);
         $ret = $this->doGet($myURL);
         $objs = $this->extractObjectFeed($ret->body);
@@ -834,9 +834,9 @@ class CMISService extends CMISRepository
         return $objs;
     }
 
-    function getChildren($objectId, $options = array ())
+    function getChildren($folderId, $options = array ())
     {
-        $myURL = $this->getLink($objectId, "down");
+        $myURL = $this->getLink($folderId, "down");
         //TODO: Need GenURLQueryString Utility
         $ret = $this->doGet($myURL);
         $objs = $this->extractObjectFeed($ret->body);
@@ -844,9 +844,9 @@ class CMISService extends CMISRepository
         return $objs;
     }
 
-    function getFolderParent($objectId, $options = array ())
+    function getFolderParent($folderId, $options = array ())
     { //yes
-        $myURL = $this->getLink($objectId, "up");
+        $myURL = $this->getLink($folderId, "up");
         //TODO: Need GenURLQueryString Utility
         $ret = $this->doGet($myURL);
         $obj = $this->extractObjectEntry($ret->body);