PEAR Manual
Prev |  | Next

# constructor Calendar_Validation_Error::Calendar_Validation_Error()

constructor Calendar_Validation_Error::Calendar_Validation_Error() -- Constructs Calendar_Validation_Error

## Synopsis

    require_once 'Validator.php';

``void constructor Calendar_Validation_Error::Calendar_Validation_Error` (string $unit, int $value, string $message)`

## Description

This package is not documented yet.

## Parameter

string `$unit`

  Date unit (e.g. month,hour,second)

integer `$value`

  Value of unit which failed test

string `$message`

  Validation error message

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
Calendar_Validation_Error | Up | Calendar_Validation_Error::getMessage()