<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
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'));
*
* @access public
*
+ * @param $form
+ * @param $defaults
+ *
* @return void
*/
static function setDefaultValues(&$form, &$defaults) {}