Commit 500cfe81 authored by totten's avatar totten
Browse files

INFRA-132 - CRM/Member - Misc

parent a3d7e8ee
......@@ -756,7 +756,8 @@ INNER JOIN civicrm_membership_type type ON ( type.id = membership.membership_ty
*
* @static
*/
static function buildMembershipBlock(&$form,
static function buildMembershipBlock(
&$form,
$pageID,
$cid,
$formItems = FALSE,
......@@ -1318,7 +1319,8 @@ AND civicrm_membership.is_test = %2";
*
* @return void
*/
public static function postProcessMembership($membershipParams, $contactID, &$form, $premiumParams,
public static function postProcessMembership(
$membershipParams, $contactID, &$form, $premiumParams,
$customFieldsFormatted = NULL, $includeFieldTypes = NULL, $membershipDetails, $membershipTypeIDs, $isPaidMembership, $membershipID,
$isProcessSeparateMembershipTransaction, $defaultContributionTypeID, $membershipLineItems, $isPayLater) {
$result = $membershipContribution = NULL;
......@@ -1481,7 +1483,8 @@ AND civicrm_membership.is_test = %2";
* @return void
* @static
*/
static public function updateRecurMembership(CRM_Member_DAO_Membership $membership,
static public function updateRecurMembership(
CRM_Member_DAO_Membership $membership,
CRM_Contribute_BAO_Contribution $contribution) {
if (empty($contribution->contribution_recur_id)) {
......
......@@ -233,7 +233,8 @@ class CRM_Member_BAO_MembershipStatus extends CRM_Member_DAO_MembershipStatus {
* @return array
@static
*/
static function getMembershipStatusByDate($startDate, $endDate, $joinDate,
static function getMembershipStatusByDate(
$startDate, $endDate, $joinDate,
$statusDate = 'today', $excludeIsAdmin = FALSE, $membershipTypeID, $membership = array()
) {
$membershipDetails = array();
......
......@@ -392,7 +392,8 @@ class CRM_Member_BAO_Query {
*
* @return array|null
*/
static function defaultReturnProperties($mode,
static function defaultReturnProperties(
$mode,
$includeCustomFields = TRUE
) {
$properties = NULL;
......
......@@ -76,7 +76,8 @@ abstract class CRM_Member_Import_Parser extends CRM_Import_Parser {
* @return mixed
* @throws Exception
*/
function run($fileName,
function run(
$fileName,
$seperator = ',',
&$mapper,
$skipColumnHeader = FALSE,
......
......@@ -464,7 +464,8 @@ class CRM_Member_Page_Tab extends CRM_Core_Page {
* @return array (reference) of action links
* @static
*/
static function &links($status = 'all',
static function &links(
$status = 'all',
$isPaymentProcessor = NULL,
$accessContribution = NULL,
$isCancelSupported = FALSE,
......
......@@ -147,7 +147,8 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
* @return \CRM_Member_Selector_Search
@access public
*/
function __construct(&$queryParams,
function __construct(
&$queryParams,
$action = CRM_Core_Action::NONE,
$memberClause = NULL,
$single = FALSE,
......@@ -194,7 +195,8 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C
* @return array
*/
static
function &links($status = 'all',
function &links(
$status = 'all',
$isPaymentProcessor = NULL,
$accessContribution = NULL,
$qfKey = NULL,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment