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:25:27 UTC

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

Author: richardm
Date: Sun Jun 12 19:25:27 2011
New Revision: 1134964

URL: http://svn.apache.org/viewvc?rev=1134964&view=rev
Log:
More for CMIS-276

Modified:
    chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php

Modified: chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php
URL: http://svn.apache.org/viewvc/chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php?rev=1134964&r1=1134963&r2=1134964&view=diff
==============================================================================
--- chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php (original)
+++ chemistry/phpclient/trunk/lib/cmis_repository_wrapper.php Sun Jun 12 19:25:27 2011
@@ -897,7 +897,7 @@ xmlns:cmisra="http://docs.oasisopen.org/
 
         return ob_get_clean();
     }
-    function query($q, $options = array ())
+    function query($statement, $options = array ())
     {
         static $query_template;
         if (!isset ($query_template))
@@ -905,7 +905,7 @@ xmlns:cmisra="http://docs.oasisopen.org/
             $query_template = CMISService :: getQueryTemplate();
         }
         $hash_values = $options;
-        $hash_values['q'] = $q;
+        $hash_values['q'] = $statement;
         $post_value = CMISRepositoryWrapper :: processTemplate($query_template, $hash_values);
         $ret = $this->doPost($this->workspace->collections['query'], $post_value, MIME_CMIS_QUERY);
         $objs = $this->extractObjectFeed($ret->body);