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

File: v1.php

Source Location: /PEAR-1.10.12/PEAR/PackageFile/v1.php

Classes:

PEAR_PackageFile_v1
package.xml encapsulator

Page Details:

PEAR_PackageFile_v1, package.xml version 1.0

PHP versions 4 and 5

Includes:

require_once('PEAR/ErrorStack.php') [line 18]
For error handling

PEAR_PACKAGEFILE_ERROR_CANT_MAKE_PARSER [line 28]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_CHANNELVAL [line 234]

PEAR_PACKAGEFILE_ERROR_CHANNELVAL = 45
Error code when the channel validator returns an error or warning

[ Top ]



PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED [line 183]

PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED = 35
Error code when type="php" and dependency name is present

[ Top ]



PEAR_PACKAGEFILE_ERROR_DEPVERSION_IGNORED [line 178]

PEAR_PACKAGEFILE_ERROR_DEPVERSION_IGNORED = 34
Error code when rel="has" and version attribute is present.

[ Top ]



PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND [line 244]

PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND = 47
Error code when a file is listed in package.xml but does not exist

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DATE [line 93]

PEAR_PACKAGEFILE_ERROR_INVALID_DATE = 17
Error code when release state is invalid

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DEPNAME [line 168]

PEAR_PACKAGEFILE_ERROR_INVALID_DEPNAME = 32
Error code when a dependency is a pkg dependency, and has an invalid package name

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DEPOPTIONAL [line 163]

PEAR_PACKAGEFILE_ERROR_INVALID_DEPOPTIONAL = 31
Error code when a dependency has an invalid optional option

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DEPREL [line 153]

PEAR_PACKAGEFILE_ERROR_INVALID_DEPREL = 29
Error code when a dependency has an invalid relation

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DEPTYPE [line 158]

PEAR_PACKAGEFILE_ERROR_INVALID_DEPTYPE = 30
Error code when a dependency has an invalid type

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_FILE [line 229]

PEAR_PACKAGEFILE_ERROR_INVALID_FILE = 44
Error code when a file is not valid php according to _analyzeSourceCode()

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_FILENAME [line 269]

PEAR_PACKAGEFILE_ERROR_INVALID_FILENAME = 52
Error code when a filename begins with "."

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_FILEROLE [line 198]

PEAR_PACKAGEFILE_ERROR_INVALID_FILEROLE = 38
Error code when a file in the filelist has an invalid role

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_MAINTROLE [line 128]

PEAR_PACKAGEFILE_ERROR_INVALID_MAINTROLE = 24
Error code when a maintainer has no handle

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_NAME [line 43]

PEAR_PACKAGEFILE_ERROR_INVALID_NAME = 7
Error code when a package name is not valid

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_PHPFILE [line 208]

PEAR_PACKAGEFILE_ERROR_INVALID_PHPFILE = 40
Error code when analyzing a php source file that has parse errors

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_STATE [line 83]

PEAR_PACKAGEFILE_ERROR_INVALID_STATE = 15
Error code when release state is invalid

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_VERSION [line 73]

PEAR_PACKAGEFILE_ERROR_INVALID_VERSION = 13
Error code used when a <version> version number is invalid

[ Top ]



PEAR_PACKAGEFILE_ERROR_MULTILINE_SUMMARY [line 53]

PEAR_PACKAGEFILE_ERROR_MULTILINE_SUMMARY = 9
Error code for summaries that are more than 1 line

[ Top ]



PEAR_PACKAGEFILE_ERROR_NON_ISO_CHARS [line 254]

PEAR_PACKAGEFILE_ERROR_NON_ISO_CHARS = 49
Error code when a package.xml contains non-ISO-8859-1 characters

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_CONFNAME [line 188]

PEAR_PACKAGEFILE_ERROR_NO_CONFNAME = 36
Error code when a configure option has no name

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_CONFPROMPT [line 193]

PEAR_PACKAGEFILE_ERROR_NO_CONFPROMPT = 37
Error code when a configure option has no name

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DATE [line 88]

PEAR_PACKAGEFILE_ERROR_NO_DATE = 16
Error code when release state is missing

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DEPNAME [line 133]

PEAR_PACKAGEFILE_ERROR_NO_DEPNAME = 25
Error code when a dependency is not a PHP dependency, but has no name

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION [line 259]

PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION = 50
Error code when a dependency is not a 'has' relation, but has no version

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DEPREL [line 143]

PEAR_PACKAGEFILE_ERROR_NO_DEPREL = 27
Error code when a dependency has no relation (lt, ge, has, etc.)

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DEPTYPE [line 138]

PEAR_PACKAGEFILE_ERROR_NO_DEPTYPE = 26
Error code when a dependency has no type (pkg, php, etc.)

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DEPVERSION [line 148]

PEAR_PACKAGEFILE_ERROR_NO_DEPVERSION = 28
Error code when a dependency is not a 'has' relation, but has no version

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DESCRIPTION [line 58]

PEAR_PACKAGEFILE_ERROR_NO_DESCRIPTION = 10
Error code used when no description is present

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_FILEROLE [line 203]

PEAR_PACKAGEFILE_ERROR_NO_FILEROLE = 39
Error code when a file in the filelist has no role

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_FILES [line 224]

PEAR_PACKAGEFILE_ERROR_NO_FILES = 43
Error code when no files are found in the filelist

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_LEAD [line 264]

PEAR_PACKAGEFILE_ERROR_NO_LEAD = 51
Error code when a package has no lead developer

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_LICENSE [line 63]

PEAR_PACKAGEFILE_ERROR_NO_LICENSE = 11
Error code used when no license is present

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTAINERS [line 103]

PEAR_PACKAGEFILE_ERROR_NO_MAINTAINERS = 19
Error code when no maintainers are found

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTEMAIL [line 123]

PEAR_PACKAGEFILE_ERROR_NO_MAINTEMAIL = 23
Error code when a maintainer has no email

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTHANDLE [line 108]

PEAR_PACKAGEFILE_ERROR_NO_MAINTHANDLE = 20
Error code when a maintainer has no handle

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTNAME [line 118]

PEAR_PACKAGEFILE_ERROR_NO_MAINTNAME = 22
Error code when a maintainer has no name

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTROLE [line 113]

PEAR_PACKAGEFILE_ERROR_NO_MAINTROLE = 21
Error code when a maintainer has no handle

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_NAME [line 38]

PEAR_PACKAGEFILE_ERROR_NO_NAME = 6
Error code used when there is no name

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_NOTES [line 98]

PEAR_PACKAGEFILE_ERROR_NO_NOTES = 18
Error code when no release notes are found

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_PNAME_PREFIX [line 214]

PEAR_PACKAGEFILE_ERROR_NO_PNAME_PREFIX = 41
Error code when analyzing a php source file reveals a source element

without a package name prefix


[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_STATE [line 78]

PEAR_PACKAGEFILE_ERROR_NO_STATE = 14
Error code when release state is missing

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_SUMMARY [line 48]

PEAR_PACKAGEFILE_ERROR_NO_SUMMARY = 8
Error code used when no summary is parsed

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_VERSION [line 68]

PEAR_PACKAGEFILE_ERROR_NO_VERSION = 12
Error code used when a <version> version number is not present

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_XML_EXT [line 23]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_PARSER_ERROR [line 33]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_PHP5 [line 239]

PEAR_PACKAGEFILE_ERROR_PHP5 = 46
Error code when a php5 package is packaged in php4 (analysis doesn't work)

[ Top ]



PEAR_PACKAGEFILE_ERROR_UNKNOWN_CHANNEL [line 219]

PEAR_PACKAGEFILE_ERROR_UNKNOWN_CHANNEL = 42
Error code when an unknown channel is specified

[ Top ]



PEAR_PACKAGEFILE_ERROR_UNKNOWN_DEPCHANNEL [line 173]

PEAR_PACKAGEFILE_ERROR_UNKNOWN_DEPCHANNEL = 33
Error code when a dependency has a channel="foo" attribute, and foo is not a registered channel

[ Top ]



PEAR_PACKAGEFILE_PHP_NO_NOT [line 249]

PEAR_PACKAGEFILE_PHP_NO_NOT = 48
Error code when a <dep type="php" rel="not"... is encountered (use rel="ne")

[ Top ]



Documentation generated on Sun, 19 Apr 2020 14:22:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.