Sf TIC Bundles

InseeTnccable

Gestion du champs TNCC fourni par l'INSEE (Type Nom Clair => article).

Table of Contents

Properties

$art  : mixed
$tncc  : mixed
$tncc_articles  : mixed
$tncc_charnieres  : mixed

Methods

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.
getNomArt()  : string
Retourne le nom avec son éventuel article en suffixe (entre parenthèses).
getTncc()  : int|null
getTypeNomClair()  : int
Alias du getter sur tncc.
setArt()  : 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
ORM\Column

(type="string", length=8, nullable=true)

$tncc

private mixed $tncc
Tags
ORM\Column

(type="smallint", nullable=true)

$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

getArt()

public getArt() : string|null
Return values
string|null

getArticle()

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
string

getArtNom()

Retourne le nom avec son éventuel article en préfixe.

public getArtNom() : string
Return values
string

getCharniere()

Retourne la charnière à employer avec le nom.

public getCharniere([bool $espace = false ]) : string
Parameters
$espace : bool = false
Return values
string

getNomArt()

Retourne le nom avec son éventuel article en suffixe (entre parenthèses).

public getNomArt() : string
Return values
string

getTncc()

public getTncc() : int|null
Return values
int|null

getTypeNomClair()

Alias du getter sur tncc.

public getTypeNomClair() : int
Return values
int

setArt()

public setArt(string|null $art) : self
Parameters
$art : string|null
Return values
self

setTncc()

public setTncc(int|null $tncc) : self
Parameters
$tncc : int|null
Return values
self

setTypeNomClair()

Alias du setter sur tncc.

public setTypeNomClair(int $tncc) : self
Parameters
$tncc : int
Return values
self

tnccArticle()

Retourne l'article correspondant à un code TNCC.

public static tnccArticle(int $tncc) : string
Parameters
$tncc : int
Return values
string

tnccCharniere()

Retourne la charnière correspondant à un code TNCC.

public static tnccCharniere(int $tncc) : string
Parameters
$tncc : int
Return values
string

        
On this page

Search results