mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
📝 Some more PHPDoc O:)
This commit is contained in:
@@ -421,7 +421,10 @@ interface iApplicationObjectExtension
|
||||
* Invoked when an object is updated into the database. The method is called right <b>after</b> the object has been written to the
|
||||
* database.
|
||||
*
|
||||
* Changes made to the object can be get using {@link $oObject::ListChangesUpdated()}. Do not call {@link \DBObject::ListChanges} for this purpose because it will be empty as the object has already be written to DB!
|
||||
* Useful methods you can call on $oObject :
|
||||
*
|
||||
* * {@link \DBObject::ListPreviousValuesForUpdatedAttributes} : list of changed attributes and their values before the change
|
||||
* * {@link \DBObject::Get} : for a given attribute the new value that was persisted
|
||||
*
|
||||
* @param \cmdbAbstractObject $oObject The target object
|
||||
* @param CMDBChange|null $oChange A change context. Since 2.0 it is fine to ignore it, as the framework does maintain this information
|
||||
|
||||
Reference in New Issue
Block a user