Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

Member.isMember()

Is the contact record a valid member record?

Syntax

bool = Member.isMember(aContact)

Parameters

The 'Member.isMember' method takes 1 parameter:

Name Type/Value Range/Length Description
aContactMetaData  Required. JS object containing a contact record.

Results

The 'Member.isMember' method returns bool:

Type/Value Range/Length Description
bool   Returns 'true' if the record represents a valid member object.

Remarks

The membership services system is implemented over the contact template. Generally a site using the membership component should NOT create or modify entries in the contact template without using the membership API. This method however returns true if the contact record provided was created through the membership mode.

This method is always invoked on the Member class itself - not on an instance of that class. This means the code to invoke the method is always in the form:

if (Member.isMember(someContactRecord)){
   ...
}

The contact record will have been obtained through a previous call to rb.contact.individualInfo

Whitebeam release 1.3.36
(loadtime : 17ms)