/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/models/user.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-05-28 15:19:50 UTC
  • mfrom: (90.1.18 lenasys2)
  • Revision ID: gustav.hartvigsson@gmail.com-20130528151950-94dkhjql3y0mphyp
merged Jonsson:s changes:
Fixed even/odd line color on cmsindex.

Show diffs side-by-side

added added

removed removed

Lines of Context:
394
394
                        return FALSE;
395
395
                }
396
396
                
397
 
                                /*
398
 
                 *      This function returns the name (or FALSE if user isn't logged in).
399
 
                 *  RESTRICTED-LEVEL: System
400
 
                 */ 
401
 
                public function getName() {
402
 
                        if($this->isLoggedIn()) {
403
 
                                $temp = $this->session->userdata('authenticated');
404
 
                                return $temp['name'];
405
 
                        }
406
 
                        
407
 
                        return FALSE;
408
 
                }
409
 
                
410
 
                                /*
411
 
                 *      This function returns the SSN (or FALSE if user isn't logged in).
412
 
                 *  RESTRICTED-LEVEL: System
413
 
                 */ 
414
 
                public function getSSN() {
415
 
                        if($this->isLoggedIn()) {
416
 
                                $temp = $this->session->userdata('authenticated');
417
 
                                return $temp['ssn'];
418
 
                        }
419
 
                        
420
 
                        return FALSE;
421
 
                }
422
 
                
423
 
                
424
397
                /*
425
398
                * This function fetches the active course info
426
399
                */