Add a dav_name() accessor for forward compatibility.

This commit is contained in:
Andrew McMillan 2009-11-02 22:21:02 +13:00
parent b0b93fff28
commit 9d23250593

View File

@ -653,6 +653,15 @@ EOSQL;
}
/**
* Returns the dav_name of the resource in our internal namespace
*/
function dav_name() {
if ( isset($this->path) ) return $this->path;
return null;
}
/**
* Returns the name for this depth: 0, 1, infinity
*/