Skip to content

Member module : plan data structure

Chris Murray edited this page Nov 20, 2013 · 2 revisions

The member_plan_data() method returns an array of data structures with the following format.

$plan = array(
    'pid' => The unique ID of the membership plan
    , 'name' => The name of the membership plan
    , 'price' => The price of the membership plan (e.g. "39.00")
    , 'active' => 1 if the plan is still open for members to sign up
    , 'voting' => 1 if the plan allows members to vote
);