+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id: PaymentProcessorType.php 9702 2007-05-29 23:57:16Z lobo $
*
*/
}
/**
- * Build the form object
+ * Build the form object.
*
* @param bool $check
*
}
/**
- * Process the form submission
+ * Process the form submission.
*
*
* @return void
$dao = new CRM_Financial_DAO_PaymentProcessorType();
- $dao->id = $this->_id;
+ $dao->id = $this->_id;
$dao->is_default = CRM_Utils_Array::value('is_default', $values, 0);
- $dao->is_active = CRM_Utils_Array::value('is_active', $values, 0);
- $dao->is_recur = CRM_Utils_Array::value('is_recur', $values, 0);
+ $dao->is_active = CRM_Utils_Array::value('is_active', $values, 0);
+ $dao->is_recur = CRM_Utils_Array::value('is_recur', $values, 0);
$dao->name = $values['name'];
$dao->description = $values['description'];
}
$dao->save();
}
+
}