xuServer  4.2
xuServer est un Framework ORM écrit en PHP pour des bases de données MySQL.
Public Member Functions | Data Fields
authorisation Class Reference

Public Member Functions

 __construct ()
 
 isAdmin ()
 
 is ($object)
 
 has ($match)
 
 show ()
 
 load ()
 
 save ()
 
 setUser ($user)
 
 setProfile ($profile)
 
 setAuthorisations ($object)
 

Data Fields

 $userMci =""
 
 $userName =""
 
 $profileName =""
 
 $AdminName ="administrator"
 
 $profileMci =""
 
 $authorisations =array()
 

Detailed Description

This class is used to map user session informations

Author
Gael JAUNIN

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Member Function Documentation

◆ has()

has (   $match)

◆ is()

is (   $object)

◆ isAdmin()

isAdmin ( )

◆ load()

load ( )

◆ save()

save ( )

◆ setAuthorisations()

setAuthorisations (   $object)

◆ setProfile()

setProfile (   $profile)

◆ setUser()

setUser (   $user)

◆ show()

show ( )

Field Documentation

◆ $AdminName

$AdminName ="administrator"

the name of the profile to be the website "administrator"

◆ $authorisations

$authorisations =array()

◆ $profileMci

$profileMci =""

◆ $profileName

$profileName =""

the current profile name

◆ $userMci

$userMci =""

◆ $userName

$userName =""

the mci of the user