<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
*
* @package CRM
* @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
*/
/**
- * This class contains function for UFField
- *
+ * This class contains function for UFField.
*/
class CRM_Core_BAO_UFField extends CRM_Core_DAO_UFField {
}
/**
- * Does profile consists of a multi-record custom field
+ * Does profile consists of a multi-record custom field.
+ *
+ * @param int $gId
+ *
+ * @return bool
*/
public static function checkMultiRecordFieldExists($gId) {
$queryString = "SELECT f.field_name
* Custom field id.
* @param bool $is_active
* Set the is_active field.
- *
- * @return void
*/
public static function setUFField($customFieldId, $is_active) {
//find the profile id given custom field
* From which we need to copy.
* @param bool $new_id
* In which to copy.
- *
- * @return void
*/
public static function copy($old_id, $new_id) {
$ufField = new CRM_Core_DAO_UFField();
*
* @param int $customFieldId
* ID of the custom field to be deleted.
- *
- * @return void
- *
*/
public static function delUFField($customFieldId) {
//find the profile id given custom field id
* Custom group id.
* @param bool $is_active
* Value we want to set the is_active field.
- *
- * @return void
*/
public static function setUFFieldStatus($customGroupId, $is_active) {
//find the profile id given custom group id
* Reset In selector and is searchable values for given $profileID.
*
* @param int $profileID
- *
- * @return void
*/
public function resetInSelectorANDSearchable($profileID) {
if (!$profileID) {
),
'receive_date' => array(
'name' => 'receive_date',
- 'title' => ts('Receive Date'),
+ 'title' => ts('Date Received'),
),
'payment_instrument' => array(
'name' => 'payment_instrument',
- 'title' => ts('Payment Instrument'),
+ 'title' => ts('Payment Method'),
),
'contribution_status_id' => array(
'name' => 'contribution_status_id',