Skip to content

Member module : member data structure

elplatt edited this page Dec 12, 2012 · 2 revisions

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

$member = array(
    'cid' => The member's unique ID
    , 'active' => Whether the member is currently active
    , 'contact' => The member's contact info as a [[Contact Module : Contact Data Structure]]
    , 'user' => The member's CRM user info as a [[User System : User Data Structure]]
    , 'membership' => The member's memberships as an array of [[Member Module : Membership Data Structure]]s
);