deka6pb / yii2-date-unique-range-validator
Yii 2 Validator for unique range dates
Package info
github.com/deka6pb/yii2-date-unique-range-validator
Type:yii2-extension
pkg:composer/deka6pb/yii2-date-unique-range-validator
dev-master
2016-04-06 11:20 UTC
This package is not auto-updated.
Last update: 2026-03-15 03:02:11 UTC
README
Description
This module need to find the coordinates by address using The Google Maps Geocoding API or Yandex Geocoder API.
For example:
public function rules()
{
return [
...
['date_from', DateUniqueRangeValidator::className(), 'to' => 'date_to', 'uniqueAttributes' => ['uniqueKey']],
...
];
}