|
Revision 5581, 0.8 kB
(checked in by fabien, 5 years ago)
|
added the new validation system
|
- Property svn:mime-type set to
text/x-php
- 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 sfValidatorDateTime extends sfValidatorDate |
|---|
| 20 |
{ |
|---|
| 21 |
|
|---|
| 22 |
* @see sfValidatorDate |
|---|
| 23 |
*/ |
|---|
| 24 |
protected function configure($options = array(), $messages = array()) |
|---|
| 25 |
{ |
|---|
| 26 |
parent::configure($options, $messages); |
|---|
| 27 |
|
|---|
| 28 |
$this->setOption('with_time', true); |
|---|
| 29 |
} |
|---|
| 30 |
} |
|---|
| 31 |
|
|---|