/** * Create a new Record with the given $this->fkid in the database. * Initialize with standard values! */ function createRecord() { $createHandler = new ActionHandler("CREATE"); $createHandler->addDBAction("INSERT INTO $this->management_table ($this->pk_name, FILENAME, WIDTH, HEIGHT, COPYRIGHT) VALUES ($this->fkid, '', 0,0,'')"); $createHandler->proccess("CREATE"); }