respect-validation/library/Rules/SubdivisionCode/MnSubdivisionCode.php
2015-09-21 13:27:23 -03:00

51 lines
1.2 KiB
PHP

<?php
/*
* This file is part of Respect/Validation.
*
* (c) Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
*
* For the full copyright and license information, please view the "LICENSE.md"
* file that was distributed with this source code.
*/
namespace Respect\Validation\Rules\SubdivisionCode;
use Respect\Validation\Rules\AbstractSearcher;
/**
* Validator for Mongolia subdivision code.
*
* ISO 3166-1 alpha-2: MN
*
* @link http://www.geonames.org/MN/administrative-division-mongolia.html
*/
class MnSubdivisionCode extends AbstractSearcher
{
public $haystack = array(
'035', // Orhon
'037', // Darhan uul
'039', // Hentiy
'041', // Hovsgol
'043', // Hovd
'046', // Uvs
'047', // Tov
'049', // Selenge
'051', // Suhbaatar
'053', // Omnogovi
'055', // Ovorhangay
'057', // Dzavhan
'059', // DundgovL
'061', // Dornod
'063', // Dornogov
'064', // Govi-Sumber
'065', // Govi-Altay
'067', // Bulgan
'069', // Bayanhongor
'071', // Bayan-Olgiy
'073', // Arhangay
'1', // Ulanbaatar
);
public $compareIdentical = true;
}