getNameById() getNameById(integer $id_state) : string Get a state name with its ID Parameters integer $id_state Country ID Returns string — State name
getIdByName() getIdByName( $state) : integer Get a state id with its name Parameters $state Returns integer — state id
getIdByIso() getIdByIso(string $iso_code, $id_country = null) : integer Get a state id with its iso code Parameters string $iso_code Iso code $id_country Returns integer — state id
countUsed() countUsed() : integer Returns the number of utilisation of a state Returns integer — count for this state
affectZoneToSelection() affectZoneToSelection( $ids_states, $id_zone) : boolean Parameters $ids_states $id_zone Returns boolean