Hey there,
In order to determine a suitable club, you first need to create your club object, and define a one to one between you and your Clubs - as everyone knows that each club chooses a different owner.
class Club extends DataObject {
public static $db = array(
'Type' => 'Enum('Putter, Other', 'Putter')'
);
}
Then, you need to decorate your member:
class ClubDecorator extends DataObjectDecorator {
public function extraDBFields() {
return array (
'has_one' => array('Club' => 'Club')
);
}
}
Once you have dont this, you can then do a simple
Member::currentUser()->Club
to find a club.
BTW: if your going to spam you may as well use a correct link :P