|
Revision 7902, 0.7 kB
(checked in by fabien, 5 years ago)
|
rename sfValidatorBase to sfValidator in sfCompat10Plugin and renamed the new sfValidator class to sfValidatorBase (closes #3103)
|
- 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 sfValidatorPass extends sfValidatorBase |
|---|
| 20 |
{ |
|---|
| 21 |
|
|---|
| 22 |
* @see sfValidatorBase |
|---|
| 23 |
*/ |
|---|
| 24 |
public function clean($value) |
|---|
| 25 |
{ |
|---|
| 26 |
return $this->doClean($value); |
|---|
| 27 |
} |
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
* @see sfValidatorBase |
|---|
| 31 |
*/ |
|---|
| 32 |
protected function doClean($value) |
|---|
| 33 |
{ |
|---|
| 34 |
return $value; |
|---|
| 35 |
} |
|---|
| 36 |
} |
|---|
| 37 |
|
|---|