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

File: PackageFileManager.php

Source Location: /PEAR_PackageFileManager-1.7.0/PackageFileManager.php

Classes:

PEAR_PackageFileManager
PEAR :: PackageFileManager updates the <filelist></filelist> section of a PEAR package.xml file to reflect the current files in preparation for a release.

Page Details:

PEAR_PackageFileManager is designed to create and manipulate package.xml version 1.0 only.

PHP versions 4 and 5

Includes:

require_once('PEAR/Common.php') [line 21]
PEAR installer

array $GLOBALS['_PEAR_PACKAGEFILEMANAGER_ERRORS'] [line 56]

Error messages
Default value:   array(
    'en' =>
    array(
        PEAR_PACKAGEFILEMANAGER_NOSTATE =>
            'Release State (option \'state\') must by specified in PEAR_PackageFileManager ' .
            'setOptions (snapshot|devel|alpha|beta|stable)',
        PEAR_PACKAGEFILEMANAGER_NOVERSION =>
            'Release Version (option \'version\') must be specified in PEAR_PackageFileManager setOptions',
        PEAR_PACKAGEFILEMANAGER_NOPKGDIR =>
            'Package source base directory (option \'packagedirectory\') must be ' .
            'specified in PEAR_PackageFileManager setOptions',
        PEAR_PACKAGEFILEMANAGER_NOBASEDIR =>
            'Package install base directory (option \'baseinstalldir\') must be ' .
            'specified in PEAR_PackageFileManager setOptions',
        PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND =>
            'Base class "%s" can\'t be located',
        PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND_ANYWHERE =>
            'Base class "%s" can\'t be located in default or user-specified directories',
        PEAR_PACKAGEFILEMANAGER_CANTWRITE_PKGFILE =>
            'Failed to write package.xml file to destination directory',
        PEAR_PACKAGEFILEMANAGER_DEST_UNWRITABLE =>
            'Destination directory "%s" is unwritable',
        PEAR_PACKAGEFILEMANAGER_CANTCOPY_PKGFILE =>
            'Failed to copy package.xml.tmp file to package.xml',
        PEAR_PACKAGEFILEMANAGER_CANTOPEN_TMPPKGFILE =>
            'Failed to open temporary file "%s" for writing',
        PEAR_PACKAGEFILEMANAGER_PATH_DOESNT_EXIST =>
            'package.xml file path "%s" doesn\'t exist or isn\'t a directory',
        PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS =>
            'Run $managerclass->setOptions() before any other methods',
        PEAR_PACKAGEFILEMANAGER_NOPACKAGE =>
            'Package Name (option \'package\') must by specified in PEAR_PackageFileManager '.
            'setOptions to create a new package.xml',
        PEAR_PACKAGEFILEMANAGER_NOSUMMARY =>
            'Package Summary (option \'summary\') must by specified in PEAR_PackageFileManager' .
            ' setOptions to create a new package.xml',
        PEAR_PACKAGEFILEMANAGER_NODESC =>
            'Detailed Package Description (option \'description\') must be' .
            ' specified in PEAR_PackageFileManager setOptions to create a new package.xml',
        PEAR_PACKAGEFILEMANAGER_WRONG_MROLE =>
            'Maintainer role must be one of "%s", was "%s"',
        PEAR_PACKAGEFILEMANAGER_ADD_MAINTAINERS =>
            'Add maintainers to a package before generating the package.xml',
        PEAR_PACKAGEFILEMANAGER_INVALID_PACKAGE =>
            'Package validation failed:%s%s',
        PEAR_PACKAGEFILEMANAGER_INVALID_REPLACETYPE =>
            'Replacement Type must be one of "%s", was passed "%s"',
        PEAR_PACKAGEFILEMANAGER_INVALID_ROLE =>
            'Invalid file role passed to addRole, must be one of "%s", was passed "%s"',
        PEAR_PACKAGEFILEMANAGER_PHP_NOT_PACKAGE =>
            'addDependency had PHP as a package, use type="php"',
        PEAR_PACKAGEFILEMANAGER_CVS_PACKAGED =>
            'path "%path%" contains CVS directory',
        PEAR_PACKAGEFILEMANAGER_NO_PHPCOMPATINFO =>
            'PHP_Compat is not installed, cannot detect dependencies',
        PEAR_PACKAGEFILEMANAGER_NONOTES =>
            'Release Notes (option \'notes\') must be specified in PEAR_PackageFileManager setOptions',
        PEAR_PACKAGEFILEMANAGER_NOLICENSE =>
            'Release License (option \'license\') must be specified in PEAR_PackageFileManager setOptions',
        ),)


[ Top ]



PEAR_PACKAGEFILEMANAGER_ADD_MAINTAINERS [line 41]

PEAR_PACKAGEFILEMANAGER_ADD_MAINTAINERS = 19
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_CANTCOPY_PKGFILE [line 33]

PEAR_PACKAGEFILEMANAGER_CANTCOPY_PKGFILE = 9
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_CANTOPEN_TMPPKGFILE [line 34]

PEAR_PACKAGEFILEMANAGER_CANTOPEN_TMPPKGFILE = 10
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_CANTWRITE_PKGFILE [line 31]

PEAR_PACKAGEFILEMANAGER_CANTWRITE_PKGFILE = 7
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_CVS_PACKAGED [line 46]

PEAR_PACKAGEFILEMANAGER_CVS_PACKAGED = 26
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_DEST_UNWRITABLE [line 32]

PEAR_PACKAGEFILEMANAGER_DEST_UNWRITABLE = 8
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND [line 29]

PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND = 5
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND_ANYWHERE [line 30]

PEAR_PACKAGEFILEMANAGER_GENERATOR_NOTFOUND_ANYWHERE = 6
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_INVALID_PACKAGE [line 42]

PEAR_PACKAGEFILEMANAGER_INVALID_PACKAGE = 22
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_INVALID_REPLACETYPE [line 43]

PEAR_PACKAGEFILEMANAGER_INVALID_REPLACETYPE = 23
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_INVALID_ROLE [line 44]

PEAR_PACKAGEFILEMANAGER_INVALID_ROLE = 24
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NOBASEDIR [line 28]

PEAR_PACKAGEFILEMANAGER_NOBASEDIR = 4
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NODESC [line 40]

PEAR_PACKAGEFILEMANAGER_NODESC = 18
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NOLICENSE [line 49]

PEAR_PACKAGEFILEMANAGER_NOLICENSE = 29
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NONOTES [line 48]

PEAR_PACKAGEFILEMANAGER_NONOTES = 28
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NOPACKAGE [line 37]

PEAR_PACKAGEFILEMANAGER_NOPACKAGE = 15
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NOPKGDIR [line 27]

PEAR_PACKAGEFILEMANAGER_NOPKGDIR = 3
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NOSTATE [line 25]

PEAR_PACKAGEFILEMANAGER_NOSTATE = 1
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NOSUMMARY [line 39]

PEAR_PACKAGEFILEMANAGER_NOSUMMARY = 17
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NOVERSION [line 26]

PEAR_PACKAGEFILEMANAGER_NOVERSION = 2
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_NO_PHPCOMPATINFO [line 47]

PEAR_PACKAGEFILEMANAGER_NO_PHPCOMPATINFO = 27
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_PATH_DOESNT_EXIST [line 35]

PEAR_PACKAGEFILEMANAGER_PATH_DOESNT_EXIST = 11
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_PHP_NOT_PACKAGE [line 45]

PEAR_PACKAGEFILEMANAGER_PHP_NOT_PACKAGE = 25
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS [line 36]

PEAR_PACKAGEFILEMANAGER_RUN_SETOPTIONS = 14
Error Codes

[ Top ]



PEAR_PACKAGEFILEMANAGER_WRONG_MROLE [line 38]

PEAR_PACKAGEFILEMANAGER_WRONG_MROLE = 16
Error Codes

[ Top ]



Documentation generated on Wed, 15 Apr 2009 04:00:03 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.