/** * Binds an array/hash from database to this object * * @param int $oid optional argument, if not specifed then the value of current key is used * @return mixed any result from the database operation */ public function load($oid = null) { $result = parent::load($oid); if ($result) { $this->_historyLogPrevious(); } return $result; }