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

File: v1.php

Source Location: /PEAR-1.9.4/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 19]
For error handling

PEAR_PACKAGEFILE_ERROR_CANT_MAKE_PARSER [line 29]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_CHANNELVAL [line 235]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED [line 184]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_DEPVERSION_IGNORED [line 179]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND [line 245]

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

PEAR_PACKAGEFILE_ERROR_INVALID_DATE = 17
Error code when release state is invalid

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DEPNAME [line 169]

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

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DEPREL [line 154]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_DEPTYPE [line 159]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_FILE [line 230]

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

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_FILEROLE [line 199]

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

PEAR_PACKAGEFILE_ERROR_INVALID_MAINTROLE = 24
Error code when a maintainer has no handle

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_NAME [line 44]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_PHPFILE [line 209]

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

PEAR_PACKAGEFILE_ERROR_INVALID_STATE = 15
Error code when release state is invalid

[ Top ]



PEAR_PACKAGEFILE_ERROR_INVALID_VERSION [line 74]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_MULTILINE_SUMMARY [line 54]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_NON_ISO_CHARS [line 255]

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

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_CONFPROMPT [line 194]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DATE [line 89]

PEAR_PACKAGEFILE_ERROR_NO_DATE = 16
Error code when release state is missing

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DEPNAME [line 134]

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

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

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

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_DEPVERSION [line 149]

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

PEAR_PACKAGEFILE_ERROR_NO_DESCRIPTION = 10
Error code used when no description is present

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_FILEROLE [line 204]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_FILES [line 225]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_LEAD [line 265]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_LICENSE [line 64]

PEAR_PACKAGEFILE_ERROR_NO_LICENSE = 11
Error code used when no license is present

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTAINERS [line 104]

PEAR_PACKAGEFILE_ERROR_NO_MAINTAINERS = 19
Error code when no maintainers are found

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTEMAIL [line 124]

PEAR_PACKAGEFILE_ERROR_NO_MAINTEMAIL = 23
Error code when a maintainer has no email

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTHANDLE [line 109]

PEAR_PACKAGEFILE_ERROR_NO_MAINTHANDLE = 20
Error code when a maintainer has no handle

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTNAME [line 119]

PEAR_PACKAGEFILE_ERROR_NO_MAINTNAME = 22
Error code when a maintainer has no name

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_MAINTROLE [line 114]

PEAR_PACKAGEFILE_ERROR_NO_MAINTROLE = 21
Error code when a maintainer has no handle

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_NAME [line 39]

PEAR_PACKAGEFILE_ERROR_NO_NAME = 6
Error code used when there is no name

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_NOTES [line 99]

PEAR_PACKAGEFILE_ERROR_NO_NOTES = 18
Error code when no release notes are found

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_PNAME_PREFIX [line 215]

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

PEAR_PACKAGEFILE_ERROR_NO_STATE = 14
Error code when release state is missing

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_SUMMARY [line 49]

PEAR_PACKAGEFILE_ERROR_NO_SUMMARY = 8
Error code used when no summary is parsed

[ Top ]



PEAR_PACKAGEFILE_ERROR_NO_VERSION [line 69]

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

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_PARSER_ERROR [line 34]

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

[ Top ]



PEAR_PACKAGEFILE_ERROR_PHP5 [line 240]

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

PEAR_PACKAGEFILE_ERROR_UNKNOWN_CHANNEL = 42
Error code when an unknown channel is specified

[ Top ]



PEAR_PACKAGEFILE_ERROR_UNKNOWN_DEPCHANNEL [line 174]

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

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

[ Top ]



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