PHP Class Jarves\Controller\Admin\AclController

Inheritance: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
Afficher le fichier Open project: jarves/jarves

Méthodes publiques

Méthode Description
getSearch ( string $q ) : array
loadAcl ( integer $type, integer $id ) : array | integer
saveAcl ( integer $targetId, integer $targetType, array $rules = null ) : boolean
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )

Méthodes protégées

Méthode Description
getRuleCount ( integer $type, integer $id ) : mixed
setAclCount ( &$items, $type )

Method Details

getRuleCount() protected méthode

protected getRuleCount ( integer $type, integer $id ) : mixed
$type integer
$id integer
Résultat mixed

getSearch() public méthode

public getSearch ( string $q ) : array
$q string
Résultat array array('users' => array, 'groups' => array())

loadAcl() public méthode

public loadAcl ( integer $type, integer $id ) : array | integer
$type integer
$id integer
Résultat array | integer

saveAcl() public méthode

public saveAcl ( integer $targetId, integer $targetType, array $rules = null ) : boolean
$targetId integer
$targetType integer
$rules array
Résultat boolean

setAclCount() protected méthode

protected setAclCount ( &$items, $type )
$items
$type

setContainer() public méthode

public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface