mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +00:00
add method setParent() as an alias for setFolder()
This commit is contained in:
parent
98965f109f
commit
328b1b2b1a
|
@ -602,6 +602,19 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
||||||
return $this->_folder;
|
return $this->_folder;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set folder of a document
|
||||||
|
*
|
||||||
|
* This function basically moves a document from a folder to another
|
||||||
|
* folder.
|
||||||
|
*
|
||||||
|
* @param SeedDMS_Core_Folder $newFolder
|
||||||
|
* @return boolean false in case of an error, otherwise true
|
||||||
|
*/
|
||||||
|
function setParent($newFolder) { /* {{{ */
|
||||||
|
return $this->setFolder($newFolder);
|
||||||
|
} /* }}} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set folder of a document
|
* Set folder of a document
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user