Beta version

class UrlAliasRepository 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

array
findAllFromNode(integer $nodeId)

Get all url aliases linked to given node.

array
findOnePartialByAlias($alias)

Get all url aliases linked to given node.

boolean
exists(string $alias)

No description

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 46
array findAllFromNode(integer $nodeId)

Get all url aliases linked to given node.

Parameters

integer $nodeId

Return Value

array

at line 70
array findOnePartialByAlias($alias)

Get all url aliases linked to given node.

Parameters

$alias

Return Value

array

Exceptions

NonUniqueResultException

at line 89
boolean exists(string $alias)

Parameters

string $alias

Return Value

boolean