![]() |
Bearsampp 2026.9.23
|
Go to the source code of this file.
Data Structures | |
| class | PEAR_ChannelFile |
Namespaces | |
| namespace | PEAR |
| $GLOBALS[ '_PEAR_CHANNELS_MIRROR_TYPES'] = array('server') |
#- Mirror types allowed. Currently only internet servers are recognized.
Definition at line 137 of file ChannelFile.php.
| const PEAR_CHANNELFILE_ERROR_CANT_MAKE_PARSER 4 |
Error code if creating the xml parser resource fails
Definition at line 41 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\fromXmlString().
| const PEAR_CHANNELFILE_ERROR_EMPTY_REGEX 24 |
Error code when an empty package name validate regex is passed in
Definition at line 90 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage().
| const PEAR_CHANNELFILE_ERROR_INVALID 23 |
Error code when an attempt is made to generate xml, but the parsed content is invalid
Definition at line 86 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\toXml().
| const PEAR_CHANNELFILE_ERROR_INVALID_HOST 11 |
Error code when channel server is invalid for protocol
Definition at line 74 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_INVALID_MIRROR 21 |
Error code when a mirror name is invalid
Definition at line 78 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage().
| const PEAR_CHANNELFILE_ERROR_INVALID_MIRRORTYPE 22 |
Error code when a mirror type is invalid
Definition at line 82 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage().
| const PEAR_CHANNELFILE_ERROR_INVALID_NAME 7 |
Error code when channel name is invalid
Definition at line 58 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), PEAR_ChannelFile\setAlias(), PEAR_ChannelFile\setServer(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_INVALID_PORT 33 |
Error code when a server port is not numeric
Definition at line 115 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_INVALID_SSL 37 |
Error code when ssl attribute is present and is not "yes"
Definition at line 131 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().
| const 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
Definition at line 31 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\fromXmlString().
| const 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.
Definition at line 111 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), PEAR_ChannelFile\addMirrorFunction(), PEAR_ChannelFile\setBaseURL(), PEAR_ChannelFile\setPort(), PEAR_ChannelFile\setServer(), and PEAR_ChannelFile\setSSL().
| const PEAR_CHANNELFILE_ERROR_MULTILINE_SUMMARY 9 |
Error code when channel summary is multi-line
Definition at line 66 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), PEAR_ChannelFile\setSummary(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_NO_FUNCTIONNAME 26 |
Error code when a <function> tag has no name
Definition at line 98 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\_validateFunctions().
| const PEAR_CHANNELFILE_ERROR_NO_FUNCTIONVERSION 25 |
Error code when a <function> tag has no version
Definition at line 94 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\_validateFunctions().
| const PEAR_CHANNELFILE_ERROR_NO_HOST 10 |
Error code when channel server is missing for protocol
Definition at line 70 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_NO_NAME 6 |
#+ Validation errors Error code when channel name is missing
Definition at line 54 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_NO_STATICVERSION 34 |
Error code when <static> contains no version attribute
Definition at line 119 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage().
| const PEAR_CHANNELFILE_ERROR_NO_SUMMARY 8 |
Error code when channel summary is missing
Definition at line 62 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), PEAR_ChannelFile\setSummary(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_NO_VERSION 1 |
Needed for error handling Error code if the channel.xml <channel> tag does not contain a valid version
Definition at line 26 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\fromXmlString().
| const PEAR_CHANNELFILE_ERROR_NO_XML_EXT 3 |
Error code if parsing is attempted with no xml extension
Definition at line 36 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\fromXmlString().
| const PEAR_CHANNELFILE_ERROR_NOBASEURLTYPE 35 |
Error code when <baseurl> contains no type attribute in a <rest> protocol definition
Definition at line 123 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\_validateFunctions().
| const PEAR_CHANNELFILE_ERROR_NOVALIDATE_NAME 27 |
Error code when a <validatepackage> tag has no name
Definition at line 102 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_NOVALIDATE_VERSION 28 |
Error code when a <validatepackage> tag has no version attribute
Definition at line 106 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().
| const PEAR_CHANNELFILE_ERROR_PARSER_ERROR 5 |
Error code used for all sax xml parsing errors
Definition at line 46 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage().
| const PEAR_CHANNELFILE_URI_CANT_MIRROR 36 |
Error code when a mirror is defined and the channel.xml represents the __uri pseudo-channel
Definition at line 127 of file ChannelFile.php.
Referenced by PEAR_ChannelFile\_getErrorMessage(), and PEAR_ChannelFile\validate().