/** * (non-PHPdoc) * @see EPDBObject::insert() */ protected function insert() { $result = parent::insert(); if ($result) { $this->storeRevision($this); $this->log('add'); } return $result; }