RvTwoClasses
[ class tree: RvTwoClasses ] [ index: RvTwoClasses ] [ all elements ]

Class: User

Source Location: /rvtwo/classes/user.php

Class Overview


Class Description: Class representing a user of the system and the user's access rights to


Author(s):

  • Jan van der Breggen

Variables

Methods



Class Details

[line 10]
Class Description: Class representing a user of the system and the user's access rights to

various parts of the system *




Tags:

author:  Jan van der Breggen
since:  : 29/04/2009


[ Top ]


Class Variables

$email =

[line 15]



Tags:

access:  private

Type:   mixed


[ Top ]

$first =

[line 13]



Tags:

access:  private

Type:   mixed


[ Top ]

$id =

[line 12]



Tags:

access:  private

Type:   mixed


[ Top ]

$last =

[line 14]



Tags:

access:  private

Type:   mixed


[ Top ]

$roles =

[line 16]



Tags:

access:  private

Type:   mixed


[ Top ]

$uiAccess =

[line 17]



Tags:

access:  private

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 19]

User __construct( $id, $first, $last, $email, $roles)



Parameters:

   $id  
   $first  
   $last  
   $email  
   $roles  

[ Top ]

method getUiAccess [line 45]

void getUiAccess( $elementName)



Parameters:

   $elementName  

[ Top ]

method hasRole [line 50]

void hasRole( $roleId)



Parameters:

   $roleId  

[ Top ]

method setUiAccess [line 40]

void setUiAccess( )

retrieves the restricted ui elements from the database

and determines the type of access (select, update, insert, delete or a combination of these) the user has to each element. the result is stored in the array $uiAccess




[ Top ]


Documentation generated on Mon, 18 May 2009 11:22:23 +0200 by phpDocumentor 1.4.1