Properties

$userDao

$userDao : 

Type

$contentTypeDao

$contentTypeDao : 

Type

$permissionDao

$permissionDao : 

Type

$userRoleDao

$userRoleDao : 

Type

$roleDao

$roleDao : 

Type

$perPage

$perPage : 

Type

Methods

__construct()

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

Parameters

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

getUserByPseudo()

getUserByPseudo(  $pseudo) 

Parameters

$pseudo

getUser()

getUser(  $id) 

Parameters

$id

getContenttypeIdFromName()

getContenttypeIdFromName(  $name) 

Parameters

$name

addDefaultPermission()

addDefaultPermission(  $pseudo) 

Parameters

$pseudo

addUserPermissions()

addUserPermissions(  $pseudo,   $action,   $contenttype,   $owncontent,   $othercontent) 

Parameters

$pseudo
$action
$contenttype
$owncontent
$othercontent

updateUserPermissions()

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

Parameters

$permissionid
$userid
$contenttype
$actions
$owncontent
$othercontent

deleteUserPermission()

deleteUserPermission(  $id) 

Parameters

$id

paginateUserPermission()

paginateUserPermission() 

paginateUserRole()

paginateUserRole() 

getUserPermissions()

getUserPermissions(  $pseudo) 

Parameters

$pseudo

getPermissionsByContentTypeAndAction()

getPermissionsByContentTypeAndAction(  $userid,   $content_type,   $action) 

Parameters

$userid
$content_type
$action

getPermission()

getPermission(  $id) 

Parameters

$id