Jackalope\Transport\Jackrabbit\Client::buildLocateRequest PHP Method

buildLocateRequest() protected method

Build REPORT XML request for locating a node path by uuid
protected buildLocateRequest ( string $uuid ) : string
$uuid string Unique identifier of the node to be asked for.
return string XML sring representing the content of the request.
    protected function buildLocateRequest($uuid)
    {
        return '<?xml version="1.0" encoding="UTF-8"?>' . '<dcr:locate-by-uuid xmlns:dcr="http://www.day.com/jcr/webdav/1.0">' . '<D:href xmlns:D="DAV:">' . $uuid . '</D:href></dcr:locate-by-uuid>';
    }