lib/ezutils/classes/ezdatetimevalidator.php
File containing the eZDateTimeValidator class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- lib
- Version
- 4.6.0
\eZDateTimeValidator
Package: lib
File containing the eZDateTimeValidator class.
- Parent(s)
- \eZInputValidator
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Constants

STATE_ACCEPTED
= 1
inheritedInherited from:
\eZInputValidator::STATE_ACCEPTED
- Inherited_from
- \eZInputValidator::STATE_ACCEPTED

STATE_INTERMEDIATE
= 2
inheritedInherited from:
\eZInputValidator::STATE_INTERMEDIATE
- Inherited_from
- \eZInputValidator::STATE_INTERMEDIATE

STATE_INVALID
= 3
inheritedInherited from:
\eZInputValidator::STATE_INVALID
- Inherited_from
- \eZInputValidator::STATE_INVALID
Methods


fixup(
$text
)
:
void
inherited
Inherited from:
\eZInputValidator::fixup()
Parameters
Name | Type | Description |
---|---|---|
$text |


validate(
$text
)
:
void
inherited
Inherited from:
\eZInputValidator::validate()
Parameters
Name | Type | Description |
---|---|---|
$text |


validateDate(
$day, $month, $year
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$day | ||
$month | ||
$year |


validateDateTime(
$day, $month, $year, $hour, $minute, $second
=
0
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$day | ||
$month | ||
$year | ||
$hour | ||
$minute | ||
$second |