application: Allow changing vendor using 'move to another parent' link
This commit is contained in:
committed by
Alexander Nicolaysen Sørnes
parent
fc9bcb4927
commit
d817ffa77a
@@ -1336,6 +1336,16 @@ class Application {
|
|||||||
return $sMsg;
|
return $sMsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function objectSetParent($iNewId, $sClass = '')
|
||||||
|
{
|
||||||
|
$this->iVendorId = $iNewId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function objectGetParent($sClass = '')
|
||||||
|
{
|
||||||
|
return new vendor($this->iVendorId);
|
||||||
|
}
|
||||||
|
|
||||||
public function objectGetChildren($bIncludeDeleted = false)
|
public function objectGetChildren($bIncludeDeleted = false)
|
||||||
{
|
{
|
||||||
return $this->objectGetChildrenClassSpecific('', $IncludeDeleted);
|
return $this->objectGetChildrenClassSpecific('', $IncludeDeleted);
|
||||||
|
|||||||
Reference in New Issue
Block a user