PEAR
[ class tree: PEAR ] [ index: PEAR ] [ all elements ]

File: ChannelFile.php

Source Location: /PEAR-1.9.4/PEAR/ChannelFile.php

Classes:

PEAR_ChannelFile
The Channel handling class

Page Details:

PEAR_ChannelFile, the channel handling class

PHP versions 4 and 5

Includes:

require_once('PEAR/XMLParser.php') [line 21]
require_once('PEAR/ErrorStack.php') [line 20]
Needed for error handling
require_once('PEAR/Common.php') [line 22]

PEAR_CHANNELFILE_ERROR_CANT_MAKE_PARSER [line 42]

PEAR_CHANNELFILE_ERROR_CANT_MAKE_PARSER = 4
Error code if creating the xml parser resource fails

[ Top ]



PEAR_CHANNELFILE_ERROR_EMPTY_REGEX [line 91]

PEAR_CHANNELFILE_ERROR_EMPTY_REGEX = 24
Error code when an empty package name validate regex is passed in

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID [line 87]

PEAR_CHANNELFILE_ERROR_INVALID = 23
Error code when an attempt is made to generate xml, but the parsed content is invalid

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_HOST [line 75]

PEAR_CHANNELFILE_ERROR_INVALID_HOST = 11
Error code when channel server is invalid for protocol

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_MIRROR [line 79]

PEAR_CHANNELFILE_ERROR_INVALID_MIRROR = 21
Error code when a mirror name is invalid

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_MIRRORTYPE [line 83]

PEAR_CHANNELFILE_ERROR_INVALID_MIRRORTYPE = 22
Error code when a mirror type is invalid

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_NAME [line 59]

PEAR_CHANNELFILE_ERROR_INVALID_NAME = 7
Error code when channel name is invalid

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_PORT [line 116]

PEAR_CHANNELFILE_ERROR_INVALID_PORT = 33
Error code when a server port is not numeric

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_SSL [line 132]

PEAR_CHANNELFILE_ERROR_INVALID_SSL = 37
Error code when ssl attribute is present and is not "yes"

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_VERSION [line 32]

PEAR_CHANNELFILE_ERROR_INVALID_VERSION = 2
Error code if the channel.xml <channel> tag version is not supported (version 1.0 is the only supported version,

currently


[ Top ]



PEAR_CHANNELFILE_ERROR_MIRROR_NOT_FOUND [line 112]

PEAR_CHANNELFILE_ERROR_MIRROR_NOT_FOUND = 32
Error code when a mirror does not exist but is called for in one of the set* methods.

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_MULTILINE_SUMMARY [line 67]

PEAR_CHANNELFILE_ERROR_MULTILINE_SUMMARY = 9
Error code when channel summary is multi-line

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NOBASEURLTYPE [line 124]

PEAR_CHANNELFILE_ERROR_NOBASEURLTYPE = 35
Error code when <baseurl> contains no type attribute in a <rest> protocol definition

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NOVALIDATE_NAME [line 103]

PEAR_CHANNELFILE_ERROR_NOVALIDATE_NAME = 27
Error code when a <validatepackage> tag has no name

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NOVALIDATE_VERSION [line 107]

PEAR_CHANNELFILE_ERROR_NOVALIDATE_VERSION = 28
Error code when a <validatepackage> tag has no version attribute

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_FUNCTIONNAME [line 99]

PEAR_CHANNELFILE_ERROR_NO_FUNCTIONNAME = 26
Error code when a <function> tag has no name

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_FUNCTIONVERSION [line 95]

PEAR_CHANNELFILE_ERROR_NO_FUNCTIONVERSION = 25
Error code when a <function> tag has no version

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_HOST [line 71]

PEAR_CHANNELFILE_ERROR_NO_HOST = 10
Error code when channel server is missing for protocol

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_NAME [line 55]

PEAR_CHANNELFILE_ERROR_NO_NAME = 6
Error code when channel name is missing

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_STATICVERSION [line 120]

PEAR_CHANNELFILE_ERROR_NO_STATICVERSION = 34
Error code when <static> contains no version attribute

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_SUMMARY [line 63]

PEAR_CHANNELFILE_ERROR_NO_SUMMARY = 8
Error code when channel summary is missing

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_VERSION [line 27]

PEAR_CHANNELFILE_ERROR_NO_VERSION = 1
Error code if the channel.xml <channel> tag does not contain a valid version

[ Top ]



PEAR_CHANNELFILE_ERROR_NO_XML_EXT [line 37]

PEAR_CHANNELFILE_ERROR_NO_XML_EXT = 3
Error code if parsing is attempted with no xml extension

[ Top ]



PEAR_CHANNELFILE_ERROR_PARSER_ERROR [line 47]

PEAR_CHANNELFILE_ERROR_PARSER_ERROR = 5
Error code used for all sax xml parsing errors

[ Top ]



PEAR_CHANNELFILE_URI_CANT_MIRROR [line 128]

PEAR_CHANNELFILE_URI_CANT_MIRROR = 36
Error code when a mirror is defined and the channel.xml represents the __uri pseudo-channel

Validation errors


[ Top ]



Documentation generated on Wed, 06 Jul 2011 23:30:27 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.