<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig {
/**
- * max number of contacts we will display for membership-organisation
+ * Max number of contacts we will display for membership-organisation
*/
- CONST MAX_CONTACTS = 50;
+ const MAX_CONTACTS = 50;
function preProcess() {
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE, 0 );
}
/**
- * This function sets the default values for the form. MobileProvider that in edit/view mode
+ * Set default values for the form. MobileProvider that in edit/view mode
* the default values are retrieved from the database
*
* @access public
}
/**
- * Function to build the form
+ * Build the form object
*
* @return void
* @access public
}
/**
- * Function for validation
+ * Validation
*
* @param array $params (ref.) an assoc array of name/value pairs
*
}
/**
- * Function to process the form
+ * Process the form submission
*
* @access public
*
}
/**
- * @param $previousID
- * @param $priceSetId
- * @param $membershipTypeId
+ * @param int $previousID
+ * @param int $priceSetId
+ * @param int $membershipTypeId
* @param $optionsIds
*/
public static function checkPreviousPriceField($previousID, $priceSetId, $membershipTypeId, &$optionsIds) {