mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-16 03:53:40 +00:00
Add a dav_name() accessor for forward compatibility.
This commit is contained in:
parent
b0b93fff28
commit
9d23250593
@ -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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user