TIC\TownBundle\Entity\Commune
Commune française.
Synopsis
class Commune
{
- // members
- private $codes;
- private $insee;
- private $postal;
- private $type;
- private $nom_maj;
- private $nom;
- private $departement;
- private $enabled;
- private $outre_mer;
- private $version;
- // methods
- public void __construct()
- public void __toString()
- public ?Region getRegion()
- public Commune setInsee()
- public Commune setPostal()
- public ?string getCodes()
- public ?string getInsee()
- public ?string getPostal()
- public ?string getType()
- public Commune setType()
- public ?string getNomMaj()
- public Commune setNomMaj()
- public ?string getNom()
- public Commune setNom()
- public ?bool getEnabled()
- public Commune setEnabled()
- public ?bool getOutreMer()
- public Commune setOutreMer()
- public ?string getVersion()
- public Commune setVersion()
- public ?Departement getDepartement()
- public Commune setDepartement()
- // Inherited methods from InseeTnccable
- public void getTncc()
- public void setTncc()
- public void getArt()
- public void setArt()
- public integer getTypeNomClair()
- public void setTypeNomClair()
- public static void tnccArticle()
- public static void tnccCharniere()
- public void getArticle()
- public void getCharniere()
- public void getArtNom()
- public void getNomArt()
- // Inherited methods from Geolocatable
- public void setGeoLat()
- public void getGeoLat()
- public void setGeoLng()
- public void getGeoLng()
- public static array|null parseGeomap()
- public Entity setGeomap()
- public array|string getGeomap()
Hierarchy
Members
private
- $codes
- $departement
- $enabled
- $insee
- $nom
- $nom_maj
- $outre_mer
- $postal
- $type
- $version
protected
- $geoLat
- $geoLng
Methods
public
- __construct()
- __toString()
- getCodes()
- getDepartement()
- getEnabled()
- getInsee()
- getNom()
- getNomMaj()
- getOutreMer()
- getPostal()
- getRegion()
- getType()
- getVersion()
- setDepartement()
- setEnabled()
- setInsee()
- setNom()
- setNomMaj()
- setOutreMer()
- setPostal()
- setType()
- setVersion()
Inherited from TIC\TownBundle\Traits\InseeTnccable
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.
Inherited from TIC\TownBundle\Traits\Geolocatable
public
- getGeoLat()
- getGeoLng()
- getGeomap() — Retourne les coordonnées latitude;longitude pour le formulaire.
- parseGeomap() — Retourne un tableau {'lat','lng'} à partir de différents formats d'entrée.
- setGeoLat()
- setGeoLng()
- setGeomap() — Enregistre les coordonnées latitude;longitude pour le formulaire.