3 require_once 'CRM/Core/Page.php';
5 class CRM_Memberdashboard_Page_MemberDashboard
extends CRM_Core_Page
{
6 public $contact = NULL;
8 function __construct() {
14 function loadContact() {
15 $session = CRM_Core_Session
::singleton();
16 $params = array('contact_id' => $session->get('userID'));
18 $this->contact
= CRM_Contact_BAO_Contact
::retrieve($params, $defaults);
22 CRM_Utils_System
::setTitle(ts('Welcome, ') . $this->contact
->first_name
. '!');
24 $this->assign('contact', $this->contact
);