Source for file _parse_lock_response.php
Documentation is available at _parse_lock_response.php
// helper class for parsing LOCK request bodies
class HTTP_WebDAV_Client_parse_lock_response
var $collect_locktoken = false;
function HTTP_WebDAV_Client_parse_lock_response ($response)
array (&$this, "_startElement"),
array (&$this, "_endElement"));
XML_OPTION_CASE_FOLDING , false );
$this->success = xml_parse($xml_parser, $response, true );
function _startElement ($parser, $name, $attrs)
list ($ns, $tag) = explode(" ", $name);
$this->collect_locktoken = true;
function _data ($parser, $data)
if ($this->collect_locktoken) {
$this->locktoken .= $data;
function _endElement ($parser, $name)
list ($ns, $tag) = explode(" ", $name);
$this->collect_locktoken = false;
$this->locktoken = trim($this->locktoken);
Documentation generated on Mon, 11 Mar 2019 15:46:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|