Region
in package
Uses
InseeTnccable
Région française.
Tags
Table of Contents
Properties
- $art : mixed
- $cheflieu : mixed
- $departements : mixed
- $enabled : mixed
- $insee : mixed
- $nom : mixed
- $nom_maj : mixed
- $outre_mer : mixed
- $tncc : mixed
- $tncc_articles : mixed
- $tncc_charnieres : mixed
Methods
- __construct() : mixed
- __toString() : mixed
- addDepartement() : self
- getArt() : string|null
- getArticle() : string
- Retourne l'article à employer avec le nom.
- getArtNom() : string
- Retourne le nom avec son éventuel article en préfixe.
- getCharniere() : string
- Retourne la charnière à employer avec le nom.
- getCheflieu() : string|null
- getDepartements() : ArrayCollection
- getEnabled() : bool|null
- getInsee() : int|null
- getNom() : string|null
- getNomArt() : string
- Retourne le nom avec son éventuel article en suffixe (entre parenthèses).
- getNomMaj() : string|null
- getOutreMer() : bool|null
- getTncc() : int|null
- getTypeNomClair() : int
- Alias du getter sur tncc.
- removeDepartement() : self
- setArt() : self
- setCheflieu() : self
- setEnabled() : self
- setInsee() : mixed
- setNom() : self
- setNomMaj() : self
- setOutreMer() : self
- setTncc() : self
- setTypeNomClair() : self
- Alias du setter sur tncc.
- tnccArticle() : string
- Retourne l'article correspondant à un code TNCC.
- tnccCharniere() : string
- Retourne la charnière correspondant à un code TNCC.
Properties
$art
private
mixed
$art
Tags
$cheflieu
private
mixed
$cheflieu
Tags
$departements
private
mixed
$departements
Tags
$enabled
private
mixed
$enabled
Tags
$insee
private
mixed
$insee
Tags
$nom
private
mixed
$nom
Tags
$nom_maj
private
mixed
$nom_maj
Tags
$outre_mer
private
mixed
$outre_mer
Tags
$tncc
private
mixed
$tncc
Tags
$tncc_articles
private
mixed
$tncc_articles
= array("", "", "Le", "La", "Les", "L'", "Aux", "Las", "Los")
$tncc_charnieres
private
mixed
$tncc_charnieres
= array("de", "d'", "du", "de la", "des", "de l'", "des", "de Las", "de Los")
Methods
__construct()
public
__construct() : mixed
__toString()
public
__toString() : mixed
addDepartement()
public
addDepartement(Departement $departement) : self
Parameters
- $departement : Departement
Return values
selfgetArt()
public
getArt() : string|null
Return values
string|nullgetArticle()
Retourne l'article à employer avec le nom.
public
getArticle([bool $espace = false ][, bool $parentheses = false ]) : string
Parameters
- $espace : bool = false
- $parentheses : bool = false
Return values
stringgetArtNom()
Retourne le nom avec son éventuel article en préfixe.
public
getArtNom() : string
Return values
stringgetCharniere()
Retourne la charnière à employer avec le nom.
public
getCharniere([bool $espace = false ]) : string
Parameters
- $espace : bool = false
Return values
stringgetCheflieu()
public
getCheflieu() : string|null
Return values
string|nullgetDepartements()
public
getDepartements() : ArrayCollection
Return values
ArrayCollectiongetEnabled()
public
getEnabled() : bool|null
Return values
bool|nullgetInsee()
public
getInsee() : int|null
Return values
int|nullgetNom()
public
getNom() : string|null
Return values
string|nullgetNomArt()
Retourne le nom avec son éventuel article en suffixe (entre parenthèses).
public
getNomArt() : string
Return values
stringgetNomMaj()
public
getNomMaj() : string|null
Return values
string|nullgetOutreMer()
public
getOutreMer() : bool|null
Return values
bool|nullgetTncc()
public
getTncc() : int|null
Return values
int|nullgetTypeNomClair()
Alias du getter sur tncc.
public
getTypeNomClair() : int
Return values
intremoveDepartement()
public
removeDepartement(Departement $departement) : self
Parameters
- $departement : Departement
Return values
selfsetArt()
public
setArt(string|null $art) : self
Parameters
- $art : string|null
Return values
selfsetCheflieu()
public
setCheflieu(string|null $cheflieu) : self
Parameters
- $cheflieu : string|null
Return values
selfsetEnabled()
public
setEnabled(bool $enabled) : self
Parameters
- $enabled : bool
Return values
selfsetInsee()
public
setInsee(int|null $insee) : mixed
Parameters
- $insee : int|null
setNom()
public
setNom(string $nom) : self
Parameters
- $nom : string
Return values
selfsetNomMaj()
public
setNomMaj(string $nom_maj) : self
Parameters
- $nom_maj : string
Return values
selfsetOutreMer()
public
setOutreMer(bool $outre_mer) : self
Parameters
- $outre_mer : bool
Return values
selfsetTncc()
public
setTncc(int|null $tncc) : self
Parameters
- $tncc : int|null
Return values
selfsetTypeNomClair()
Alias du setter sur tncc.
public
setTypeNomClair(int $tncc) : self
Parameters
- $tncc : int
Return values
selftnccArticle()
Retourne l'article correspondant à un code TNCC.
public
static tnccArticle(int $tncc) : string
Parameters
- $tncc : int
Return values
stringtnccCharniere()
Retourne la charnière correspondant à un code TNCC.
public
static tnccCharniere(int $tncc) : string
Parameters
- $tncc : int