Properties

$userDao

$userDao : 

Type

$contentTypeDao

$contentTypeDao : 

Type

$permissionDao

$permissionDao : 

Type

$userRoleDao

$userRoleDao : 

Type

Methods

__construct()

__construct(\Groovel\Cmsgroovel\dao\UserDaoInterface  $userDao, \Groovel\Cmsgroovel\dao\ContentTypeDaoInterface  $contentTypeDao, \Groovel\Cmsgroovel\dao\UserPermissionDaoInterface  $permissionDao, \Groovel\Cmsgroovel\dao\UserRoleDaoInterface  $userRoleDao) 

Parameters

\Groovel\Cmsgroovel\dao\UserDaoInterface $userDao
\Groovel\Cmsgroovel\dao\ContentTypeDaoInterface $contentTypeDao
\Groovel\Cmsgroovel\dao\UserPermissionDaoInterface $permissionDao
\Groovel\Cmsgroovel\dao\UserRoleDaoInterface $userRoleDao

setLastTimeSeen()

setLastTimeSeen(  $pseudo) 

Parameters

$pseudo

getUserByUsername()

getUserByUsername(  $username) 

Parameters

$username

getUserRole()

getUserRole(  $id) 

Parameters

$id

getUserByPseudo()

getUserByPseudo(  $pseudo) 

Parameters

$pseudo

getUserByEmail()

getUserByEmail(  $email) 

Parameters

$email

getUser()

getUser(  $id) 

Parameters

$id

addUser()

addUser(  $picture,   $username,   $pseudo,   $email,   $password,   $activate,   $notification_email_enable) 

Parameters

$picture
$username
$pseudo
$email
$password
$activate
$notification_email_enable

updateUser()

updateUser(  $picture,   $id,   $username,   $pseudo,   $email,   $password,   $activate = null,   $notif_enable) 

Parameters

$picture
$id
$username
$pseudo
$email
$password
$activate
$notif_enable

deleteUser()

deleteUser(  $id) 

Parameters

$id

paginateUser()

paginateUser() 

addUserPermissions()

addUserPermissions(  $userid,   $contenttype,   $actions,   $owncontent,   $othercontent) 

Parameters

$userid
$contenttype
$actions
$owncontent
$othercontent

removeUserPermissions()

removeUserPermissions(  $userid,   $contenttype,   $actions,   $owncontent,   $othercontent) 

Parameters

$userid
$contenttype
$actions
$owncontent
$othercontent

addUserRole()

addUserRole(  $userid,   $roleid) 

Parameters

$userid
$roleid

removeUserRole()

removeUserRole(  $userid,   $roleid) 

Parameters

$userid
$roleid

paginateUserPermission()

paginateUserPermission() 

paginateUserRole()

paginateUserRole() 

getUserPermissions()

getUserPermissions(  $username) 

Parameters

$username

updateUserPermissions()

updateUserPermissions(  $userid,   $contenttype,   $actions,   $owncontent,   $othercontent) 

Parameters

$userid
$contenttype
$actions
$owncontent
$othercontent

getPermissionsByContentTypeAndAction()

getPermissionsByContentTypeAndAction(  $content_type,   $action) 

Parameters

$content_type
$action

activateUser()

activateUser(  $userid) 

Parameters

$userid

blockUser()

blockUser(  $userid) 

Parameters

$userid

getAllUsersAdmin()

getAllUsersAdmin() 

checkUserByEmailIsUnique()

checkUserByEmailIsUnique(  $email,   $pseudo) 

Parameters

$email
$pseudo