summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/AuthController.php
blob: 80a411daebadea6b2c788139f6fae1cf321683a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

class User_AuthController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
        $membershipID = $this->_request->getParam('membershipID');
        if($membershipID == ''){
	        $_SESSION['membershipID'] = 1;
	    }
	    else{
	    	$_SESSION['membershipID'] = $membershipID;
	    }
	    $pbsNotifier = new Pbs_Notifier();
	    echo $pbsNotifier->notify("membershipID is set to ".$_SESSION['membershipID'],'ok');
    }


}