|
Revision 23810, 1.0 kB
(checked in by Kris.Wallsmith, 4 years ago)
|
[1.3] set svn:eol-style property to native and svn:keywords property to Id on all .php files
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
class sfValidatorI18nChoiceTimezone extends sfValidatorChoice |
|---|
| 20 |
{ |
|---|
| 21 |
|
|---|
| 22 |
* Configures the current validator. |
|---|
| 23 |
* |
|---|
| 24 |
* Available options: |
|---|
| 25 |
* |
|---|
| 26 |
* @param array $options An array of options |
|---|
| 27 |
* @param array $messages An array of error messages |
|---|
| 28 |
* |
|---|
| 29 |
* @see sfValidatorChoice |
|---|
| 30 |
*/ |
|---|
| 31 |
protected function configure($options = array(), $messages = array()) |
|---|
| 32 |
{ |
|---|
| 33 |
parent::configure($options, $messages); |
|---|
| 34 |
|
|---|
| 35 |
$this->setOption('choices', array_keys(sfCultureInfo::getInstance()->getTimeZones())); |
|---|
| 36 |
} |
|---|
| 37 |
} |
|---|
| 38 |
|
|---|