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

File: ChannelFile.php

Source Location: /PEAR-1.10.12/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 20]
require_once('PEAR/ErrorStack.php') [line 19]
Needed for error handling
require_once('PEAR/Common.php') [line 21]

PEAR_CHANNELFILE_ERROR_CANT_MAKE_PARSER [line 41]

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

[ Top ]



PEAR_CHANNELFILE_ERROR_EMPTY_REGEX [line 90]

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 86]

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 74]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_MIRROR [line 78]

PEAR_CHANNELFILE_ERROR_INVALID_MIRROR = 21
Error code when a mirror name is invalid

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_MIRRORTYPE [line 82]

PEAR_CHANNELFILE_ERROR_INVALID_MIRRORTYPE = 22
Error code when a mirror type is invalid

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_NAME [line 58]

PEAR_CHANNELFILE_ERROR_INVALID_NAME = 7
Error code when channel name is invalid

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_PORT [line 115]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_INVALID_SSL [line 131]

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 31]

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 111]

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 66]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NOBASEURLTYPE [line 123]

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 102]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NOVALIDATE_VERSION [line 106]

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 98]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_FUNCTIONVERSION [line 94]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_HOST [line 70]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_NAME [line 54]

PEAR_CHANNELFILE_ERROR_NO_NAME = 6
Error code when channel name is missing

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_STATICVERSION [line 119]

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

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_SUMMARY [line 62]

PEAR_CHANNELFILE_ERROR_NO_SUMMARY = 8
Error code when channel summary is missing

Validation errors


[ Top ]



PEAR_CHANNELFILE_ERROR_NO_VERSION [line 26]

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 36]

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

[ Top ]



PEAR_CHANNELFILE_ERROR_PARSER_ERROR [line 46]

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

[ Top ]



PEAR_CHANNELFILE_URI_CANT_MIRROR [line 127]

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 Sun, 19 Apr 2020 14:22:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.