Skip to content

Commit

Permalink
correcting/completing doc, fixing typos and these kind of details
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Roch committed Nov 18, 2010
1 parent af1e131 commit 0e106c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/jackalope/ObjectManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public function getNodeByPath($absPath) {
* @param string $path The absolute path of the property to create
* @return \PHPCR\Property
* @throws \PHPCR\RepositoryException If the path is not absolute or not well-formed
* @throws \PHPCR\PathNotFoundException If the node has not such property, or if read access is denied.
*/
public function getPropertyByPath($absPath) {
$absPath = $this->normalizePath($absPath);
Expand Down Expand Up @@ -173,7 +174,7 @@ public function absolutePath($root, $relPath) {
}

/**
* Get the node idenfied by an uuid or path or root path and relative
* Get the node identified by an uuid or path or root path and relative
* path. If you have an absolute path use getNodeByPath.
*
* @param string uuid or relative path
Expand Down Expand Up @@ -209,7 +210,8 @@ public function getNodeTypes($nodeTypes = array()) {
}

/**
* Get a single nodetype @see getNodeTypes
* Get a single nodetype
* @see getNodeTypes
* @param string the nodetype you want
* @return DOMDocument containing the nodetype information
*/
Expand Down
3 changes: 1 addition & 2 deletions src/jackalope/transport/DavexClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ protected static function buildLocateRequest($uuid) {
* without fearing that information from one request messes with the
* next request.
*
* @param string type the http method to use¨
* @param string type the http method to use
* @param string uri the uri to request
* @param string body the body to send as post, default is empty
* @param int depth How far the request should go, default is 0 (setting the Depth HTTP header)
Expand All @@ -339,7 +339,6 @@ protected function prepareRequest($type, $uri, $body = '', $depth = 0) {

$this->curl->setopt(CURLOPT_CUSTOMREQUEST, $type);
$this->curl->setopt(CURLOPT_URL, $uri);
$this->curl->setopt(CURLOPT_RETURNTRANSFER, 1);
$this->curl->setopt(CURLOPT_HTTPHEADER, $headers);
$this->curl->setopt(CURLOPT_POSTFIELDS, $body);
}
Expand Down

0 comments on commit 0e106c0

Please sign in to comment.