PEAR Manual
Prev |  | Next

# PEAR_ChannelFile::validate()

PEAR_ChannelFile::validate() -- Validate channel information.

## Synopsis

    require_once '/ChannelFile.php';

``boolean PEAR_ChannelFile::validate` ()`

## Description

Specific errors can be retrieved post-validation with the getErrors() method. Errors are stored by the PEAR_ErrorStack class, more information on the format of the array can be found in the documentation for PEAR_ErrorStack.

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
PEAR_ChannelFile::toXml() | Up | PEAR_ChannelFile::validChannelServer()