Implement version::objectMoveChildren() on top of version::objectGetChildren()

This commit is contained in:
Alexander Nicolaysen Sørnes
2009-07-23 01:40:25 +02:00
parent bd7081ebb4
commit e9c4d2ef16
10 changed files with 232 additions and 48 deletions

View File

@@ -63,9 +63,16 @@ class downloadurl
return $sReturn;
}
public function objectSetParent($iId, $sClass = 'version')
public function objectGetParent($sClass = '')
{
$this->iVersionId = $iId;
$oAppData = new appData($this->iId, null, $this);
return $oAppData->objectGetParent();
}
public function objectSetParent($iNewId, $sClass = '')
{
$oAppData = new appData($this->iId, null, $this);
return $oAppData->objectSetParent($iNewId, $sClass);
}
function objectGetChildren($bIncludeDeleted = false)