class CRM_Member_StatusOverrideTypes

Membership status override types.

Constants

NO

The membership status is not overridden and its is subject to membership status rules.

PERMANENT

The membership will stay at the selected status and its status is NOT subject to membership status rules.

UNTIL_DATE

The membership status will stay at the selected status and it is NOT subject to membership status rules.

However, on the selected date(status_override_end_date), the status override type will automatically change to "NO" thus then the membership becomes subject to membership status rules.

Methods

static array
getSelectOptions()

Gets the list of override types as a list of options to be used for select input.

static bool
isOverridden($overrideType)

Determines if the override type means that the membership is overridden or not.

static 
isNo($overrideType)

No description

static 
isPermanent($overrideType)

No description

static 
isUntilDate($overrideType)

No description

Details

at line 66
static array getSelectOptions()

Gets the list of override types as a list of options to be used for select input.

Return Value

array In ['Type 1 Value' => 'Type 1 Label'] format

at line 84
static bool isOverridden($overrideType)

Determines if the override type means that the membership is overridden or not.

For now, only "NO" type means that the membership status is not overridden.

Parameters

$overrideType

Return Value

bool

at line 92
static isNo($overrideType)

Parameters

$overrideType

at line 100
static isPermanent($overrideType)

Parameters

$overrideType

at line 108
static isUntilDate($overrideType)

Parameters

$overrideType