mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
New helper function IsModified
SVN:code[101]
This commit is contained in:
@@ -533,6 +533,13 @@ abstract class DBObject
|
|||||||
return $this->ListChangedValues($this->m_aCurrValues);
|
return $this->ListChangedValues($this->m_aCurrValues);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Tells whether or not an object was modified
|
||||||
|
public function IsModified()
|
||||||
|
{
|
||||||
|
$aChanges = $this->ListChanges();
|
||||||
|
return (count($aChanges) != 0);
|
||||||
|
}
|
||||||
|
|
||||||
// used both by insert/update
|
// used both by insert/update
|
||||||
private function DBWriteLinks()
|
private function DBWriteLinks()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user