コード例 #1
0
ファイル: CryptoController.php プロジェクト: humansky/qframe
 /**
  * Modify action. Completes the modification of a key profile
  */
 public function modifyAction()
 {
     $crypto = new CryptoModel(array('cryptoID' => $this->_getParam('id')));
     $crypto->name = $this->_getParam('name');
     $crypto->save();
     $this->flash('notice', 'Key profile successfully modified');
     $this->_redirector->gotoRoute(array('action' => 'index', 'id' => null));
 }