PHP Class skeeks\cms\validators\PhoneValidator

Country codes and attributes value should be ISO 3166-1 alpha-2 codes
Inheritance: extends yii\validators\Validator
Mostra file Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$country
$countryAttribute
$format
$strict

Public Methods

Method Description
validateAttribute ( $model, $attribute )

Method Details

validateAttribute() public method

public validateAttribute ( $model, $attribute )

Property Details

$country public_oe property

public $country

$countryAttribute public_oe property

public $countryAttribute

$format public_oe property

public $format

$strict public_oe property

public $strict