Beta version

class RoleRepository extends EntityRepository

[email protected]}

Methods

integer
countBy(Criteria|mixed|array $criteria)

Count entities using a Criteria object or a simple filter array.

array|Paginator
searchBy(string $pattern, array $criteria = array(), array $orders = array(), integer $limit = null, integer $offset = null)

No description

int
countSearchBy(string $pattern, array $criteria = array())

No description

int
countByName(string $roleName)

No description

findOneByName(string $roleName)

No description

array
getAllBasicRoleName()

Get every Roles names except for ROLE_SUPERADMIN.

array
getAllRoleName()

Get every Roles names

Details

in EntityRepository at line 345
integer countBy(Criteria|mixed|array $criteria)

Count entities using a Criteria object or a simple filter array.

Parameters

Criteria|mixed|array $criteria or array

Return Value

integer

in EntityRepository at line 440
array|Paginator searchBy(string $pattern, array $criteria = array(), array $orders = array(), integer $limit = null, integer $offset = null)

Parameters

string $pattern Search pattern
array $criteria Additionnal criteria
array $orders
integer $limit
integer $offset

Return Value

array|Paginator

in EntityRepository at line 487
int countSearchBy(string $pattern, array $criteria = array())

Parameters

string $pattern Search pattern
array $criteria Additionnal criteria

Return Value

int

at line 45
int countByName(string $roleName)

Parameters

string $roleName

Return Value

int

at line 65
Role findOneByName(string $roleName)

Parameters

string $roleName

Return Value

Role

at line 90
array getAllBasicRoleName()

Get every Roles names except for ROLE_SUPERADMIN.

Return Value

array

at line 113
array getAllRoleName()

Get every Roles names

Return Value

array