function getEditType() { if ($this->copy) return 'copy'; return $this->getReqParam('id') ? 'update' : 'create'; }