<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Core_OptionValue {
/**
- * Static field for all the option value information that we can potentially export
+ * Static field for all the option value information that we can potentially export.
*
* @var array
*/
static $_exportableFields = NULL;
/**
- * Static field for all the option value information that we can potentially export
+ * Static field for all the option value information that we can potentially export.
*
* @var array
*/
static $_importableFields = NULL;
/**
- * Static field for all the option value information that we can potentially export
+ * Static field for all the option value information that we can potentially export.
*
* @var array
*/
$fieldValues = array('option_group_id' => $optionGroupID);
// use the next available value
/* CONVERT(value, DECIMAL) is used to convert varchar
- field 'value' to decimal->integer */
+ field 'value' to decimal->integer */
$params['value'] = (int) CRM_Utils_Weight::getDefaultWeight('CRM_Core_DAO_OptionValue',
$fieldValues,
}
/**
- * Check if there is a record with the same name in the db
+ * Check if there is a record with the same name in the db.
*
* @param string $value
* The value of the field we are checking.
}
/**
- * Check if there is a record with the same name in the db
+ * Check if there is a record with the same name in the db.
*
* @param string $mode
* @param string $contactType
$nameTitle = array(
'payment_instrument' => array(
'name' => 'payment_instrument',
- 'title' => ts('Payment Instrument'),
+ 'title' => ts('Payment Method'),
'headerPattern' => '/^payment|(p(ayment\s)?instrument)$/i',
),
);