/** * Call util to set remove stale records and set UUID, and then setup any * table-specific data. * * @param Doctrine_Event $event */ function preInsert($event) { trec_make_new($this); // table-specific $this->prj_name = strtolower('project-' . $this->prj_uuid); $this->prj_display_name = 'Project ' . $this->prj_uuid; $this->prj_status = 'A'; $this->prj_type = 'T'; //test parent::preInsert($event); }