refresh() public method
Repopulates this active record with the latest data. If the refresh is successful, an EVENT_AFTER_REFRESH event will be triggered. This event is available since version 2.0.8.
public boolean refresh ( )return boolean
Whether the row still exists in the database. If true, the latest data will be populated to this active record. Otherwise, this record will remain unchanged.