lib/ezutils/classes/ezdatetimevalidator.php
\eZDateTimeValidator
Package:
- Parent(s)
- \eZInputValidator
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 |