PEAR Manual
Prev |  | Next

# PEAR_Validate::validateLicense()

PEAR_Validate::validateLicense() -- validateLicense

## Synopsis

    require_once '/Validate.php';

``void PEAR_Validate::validateLicense` ()`

## Description

Override this method in a channel-specific validator to validate the contents of the <license> tag.

Errors should be reported using _addFailure() method, and non-fatal errors (warnings) should be reported using the _addWarning() method.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_Validate::validateFilelist() | Up | PEAR_Validate::validateMainFilelist()