projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3833 from NileemaJadhav/CRM-HR-master
[civicrm-core.git]
/
CRM
/
Contact
/
Form
/
Edit
/
Demographics.php
diff --git
a/CRM/Contact/Form/Edit/Demographics.php
b/CRM/Contact/Form/Edit/Demographics.php
index 6a4dfea8e153df20b2c4457f6fc9839c419c3544..a54bb4864eb971556cb832701f8c4d40dad28085 100644
(file)
--- a/
CRM/Contact/Form/Edit/Demographics.php
+++ b/
CRM/Contact/Form/Edit/Demographics.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
3
+ * @copyright CiviCRM LLC (c) 2004-201
4
* $Id$
*
*/
* $Id$
*
*/
@@
-57,7
+57,7
@@
class CRM_Contact_Form_Edit_Demographics {
array('id' => "civicrm_gender_{$var}_{$key}")
);
}
array('id' => "civicrm_gender_{$var}_{$key}")
);
}
- $form->addGroup($genderOptions, 'gender_id', ts('Gender'));
+ $form->addGroup($genderOptions, 'gender_id', ts('Gender'))
->setAttribute('allowClear', TRUE)
;
$form->addDate('birth_date', ts('Date of Birth'), FALSE, array('formatType' => 'birth'));
$form->addDate('birth_date', ts('Date of Birth'), FALSE, array('formatType' => 'birth'));
@@
-71,6
+71,9
@@
class CRM_Contact_Form_Edit_Demographics {
*
* @access public
*
*
* @access public
*
+ * @param $form
+ * @param $defaults
+ *
* @return void
*/
static function setDefaultValues(&$form, &$defaults) {}
* @return void
*/
static function setDefaultValues(&$form, &$defaults) {}