mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 06:27:15 +00:00
add method getParent()
This commit is contained in:
parent
b6ce91c8ee
commit
b29f7b1e9c
|
@ -441,6 +441,10 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
|||
*
|
||||
* @return object parent folder
|
||||
*/
|
||||
function getParent() { /* {{{ */
|
||||
return self::getFolder();
|
||||
} /* }}} */
|
||||
|
||||
function getFolder() { /* {{{ */
|
||||
if (!isset($this->_folder))
|
||||
$this->_folder = $this->_dms->getFolder($this->_folderID);
|
||||
|
|
Loading…
Reference in New Issue
Block a user