Merge pull request #3316 from davecivicrm/commentAndDropdownFix
[civicrm-core.git] / CRM / Member / Form.php
index a0cdb0de9c6604e27706ccf98ab37dd1aa4d63f0..749bb46ebcc40cd7aa9cf941254259769b0024f4 100644 (file)
@@ -1,9 +1,9 @@
 <?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.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -64,7 +64,7 @@ class CRM_Member_Form extends CRM_Core_Form {
    *
    * @access public
    *
-   * @return void
+   * @return array defaults
    */
   function setDefaultValues() {
     $defaults = array();
@@ -171,6 +171,9 @@ class CRM_Member_Form extends CRM_Core_Form {
    *  - contact_id
    *  - soft_credit_contact_id
    */
+  /**
+   * @param $formValues
+   */
   function storeContactFields($formValues){
     // in a 'standalone form' (contact id not in the url) the contact will be in the form values
     if (!empty($formValues['contact_id'])) {