Documentation

LocaleRepository extends EntityRepository
in package

LocaleRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.

Tags
copyright

Cloudrexx AG

author

Nicola Tommasi nicola.tommasi@comvation.com

subpackage

core_locale

version
5.0.0

Table of Contents

Methods

findAll()  : array<string|int, mixed>
Finds all locale entities and orders them by their orderNo
findBy()  : array<string|int, mixed>
Finds all locales according to the criteria and orders them by their orderNo
findOneByCode()  : null|Locale
Finds a locale by it's code/short form (e.g de, de-CH, etc.)

Methods

findAll()

Finds all locale entities and orders them by their orderNo

public findAll() : array<string|int, mixed>
Tags
todo:

After doctrine update, use findBy instead of the queryBuilder

Return values
array<string|int, mixed>

The locales

findBy()

Finds all locales according to the criteria and orders them by their orderNo

public findBy(array<string|int, mixed> $criteria[, array<string|int, mixed> $orderBy = NULL ][, mixed $limit = NULL ][, mixed $offset = NULL ]) : array<string|int, mixed>
Parameters
$criteria : array<string|int, mixed>

The criteria

$orderBy : array<string|int, mixed> = NULL
$limit : mixed = NULL
$offset : mixed = NULL
Tags
todo:

After doctrine update, use second param of findBy for ordering

Return values
array<string|int, mixed>

The locales

findOneByCode()

Finds a locale by it's code/short form (e.g de, de-CH, etc.)

public findOneByCode(string $code) : null|Locale
Parameters
$code : string

The locale code/short form

Return values
null|Locale

The locale object


        
On this page

Search results