Sf TIC Bundles

CommuneRepository extends ServiceEntityRepository
in package

CommuneRepository.

Table of Contents

Properties

$sortBy  : mixed

Methods

__construct()  : mixed
disableByInsee()  : mixed
find()  : Commune|null
findAll()  : array<string|int, Commune>
findBy()  : array<string|int, Commune>
findCodeInsee()  : mixed
Recherche le code INSEE d'une commune à partir de son nom et/ou code postal.
findOneBy()  : Commune|null
search()  : mixed
Recherche du motif en préfixe, complétée si besoin en submatch.
searchBasic()  : mixed
Recherche basique.
updateStatusByCodes()  : mixed

Properties

Methods

__construct()

public __construct(ManagerRegistry $registry) : mixed
Parameters
$registry : ManagerRegistry

disableByInsee()

public disableByInsee(mixed $insee) : mixed
Parameters
$insee : mixed

find()

public find(mixed $id, mixed $lockMode, mixed $lockVersion) : Commune|null
Parameters
$id : mixed
$lockMode : mixed
$lockVersion : mixed
Return values
Commune|null

findAll()

public findAll() : array<string|int, Commune>
Return values
array<string|int, Commune>

findBy()

public findBy(array<string|int, mixed> $criteria, array<string|int, mixed> $orderBy = null, mixed $limit, mixed $offset) : array<string|int, Commune>
Parameters
$criteria : array<string|int, mixed>
$orderBy = null : array<string|int, mixed>
$limit : mixed
$offset : mixed
Return values
array<string|int, Commune>

findCodeInsee()

Recherche le code INSEE d'une commune à partir de son nom et/ou code postal.

public findCodeInsee([mixed $nom = null ][, mixed $cp = null ]) : mixed
Parameters
$nom : mixed = null
$cp : mixed = null

findOneBy()

public findOneBy(array<string|int, mixed> $criteria, array<string|int, mixed> $orderBy = null) : Commune|null
Parameters
$criteria : array<string|int, mixed>
$orderBy = null : array<string|int, mixed>
Return values
Commune|null

Recherche du motif en préfixe, complétée si besoin en submatch.

public search(string $term[, int|null $limit = 20 ]) : mixed
Parameters
$term : string
$limit : int|null = 20

searchBasic()

Recherche basique.

public searchBasic(string $term[, int|null $limit = 20 ]) : mixed
Parameters
$term : string
$limit : int|null = 20

updateStatusByCodes()

public updateStatusByCodes(mixed $codes, bool $enabled) : mixed
Parameters
$codes : mixed
$enabled : bool

        
On this page

Search results