/** * Ajoute un passkey */ private function pkAdd() { $oPasskey = new Passkey($this->oCurrentUser->getId(), $this->oRequest->getParam('tracker', 'int'), $this->oRequest->getParam('passkey', 'string')); $oPasskey->store(); $this->oView->addAlert('Le passkey a été ajouté.', 'success'); }