mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Event "Compute Values"
This commit is contained in:
@@ -1049,7 +1049,7 @@ abstract class DBObject implements iDisplay
|
||||
if ($aCallInfo["function"] != "ComputeValues") continue;
|
||||
return; //skip!
|
||||
}
|
||||
|
||||
$this->EventComputeValues();
|
||||
$this->ComputeValues();
|
||||
}
|
||||
|
||||
@@ -2305,7 +2305,7 @@ abstract class DBObject implements iDisplay
|
||||
* @throws \OQLException
|
||||
*
|
||||
*/
|
||||
final public function CheckToWrite($bDoComputeValues = true)
|
||||
public function CheckToWrite($bDoComputeValues = true)
|
||||
{
|
||||
if (MetaModel::SkipCheckToWrite())
|
||||
{
|
||||
@@ -5829,6 +5829,10 @@ abstract class DBObject implements iDisplay
|
||||
{
|
||||
}
|
||||
|
||||
protected function EventComputeValues()
|
||||
{
|
||||
}
|
||||
|
||||
protected function EventCheckToWrite(array $aEventData)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user