TIC\TownBundle\Traits\InseeTnccable
Gestion du champs TNCC fourni par l'INSEE (Type Nom Clair => article).
Synopsis
trait InseeTnccable
{
- // members
- private array $tncc_articles = ;
- private array $tncc_charnieres = ;
- private $tncc;
- private $art;
- // methods
- public ?int getTncc()
- public InseeTnccable setTncc()
- public ?string getArt()
- public InseeTnccable setArt()
- public ?int getTypeNomClair()
- public InseeTnccable setTypeNomClair()
- public static string tnccArticle()
- public static string tnccCharniere()
- public string getArticle()
- public string getCharniere()
- public string getArtNom()
- public string getNomArt()
Hierarchy
Used by
Members
private
- $art
- $tncc
- $tncc_articles
- $tncc_charnieres
Methods
public
- getArt()
- getArtNom() — Retourne le nom avec son éventuel article en préfixe.
- getArticle() — Retourne l'article à employer avec le nom.
- getCharniere() — Retourne la charnière à employer avec le nom.
- getNomArt() — Retourne le nom avec son éventuel article en suffixe (entre parenthèses).
- getTncc()
- getTypeNomClair() — Alias du getter sur tncc.
- setArt()
- setTncc()
- setTypeNomClair() — Alias du setter sur tncc.
- tnccArticle() — Retourne l'article correspondant à un code TNCC.
- tnccCharniere() — Retourne la charnière correspondant à un code TNCC.