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

File: PackageUpdate.php

Source Location: /PEAR_PackageUpdate-1.0.2/PackageUpdate.php

Classes:

PEAR_PackageUpdate
The package allows a developer to add a few lines of code to

Page Details:

A package to make adding self updating functionality to other packages easy.

PHP versions 4 and 5

LICENSE: This source file is subject to version 3.01 of the PHP license that is available through the world-wide-web at the following URI: http://www.php.net/license/3_01.txt. If you did not receive a copy of the PHP License and are unable to obtain it through the web, please send a note to license@php.net so we can mail you a copy immediately.

CREDITS: To Ian Eure <ieure@php.net> for repackage PEAR_Errors for use with ErrorStack see repackagePEARError()

Includes:

require_once('PEAR/ErrorStack.php') [line 29]
require_once('PEAR/Config.php') [line 30]

PEAR_PACKAGEUPDATE_ERROR_INVALIDINIFILE [line 147]

PEAR_PACKAGEUPDATE_ERROR_INVALIDINIFILE = -13
Invalid INI file

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_INVALIDPREF [line 139]

PEAR_PACKAGEUPDATE_ERROR_INVALIDPREF = -11
Invalid preference identifier

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_INVALIDSTATE [line 135]

PEAR_PACKAGEUPDATE_ERROR_INVALIDSTATE = -10
Invalid release state

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_INVALIDTYPE [line 131]

PEAR_PACKAGEUPDATE_ERROR_INVALIDTYPE = -9
Invalid release type

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOCHANNEL [line 103]

PEAR_PACKAGEUPDATE_ERROR_NOCHANNEL = -2
No channel name provided

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOINFO [line 107]

PEAR_PACKAGEUPDATE_ERROR_NOINFO = -3
No update information is available for the package

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NONEXISTENTDRIVER [line 143]

PEAR_PACKAGEUPDATE_ERROR_NONEXISTENTDRIVER = -12
Driver (backend) could not be found.

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOPACKAGE [line 99]

PEAR_PACKAGEUPDATE_ERROR_NOPACKAGE = -1
No package name provided

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOTINSTALLED [line 111]

PEAR_PACKAGEUPDATE_ERROR_NOTINSTALLED = -4
The package is not installed. It cannot be updated.

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_CORRUPTED [line 127]

PEAR_PACKAGEUPDATE_ERROR_PREFFILE_CORRUPTED = -8
Preferences file is corrupted

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_READACCESS [line 115]

PEAR_PACKAGEUPDATE_ERROR_PREFFILE_READACCESS = -5
Preferences cannot be read from file because of access permission errors

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEACCESS [line 119]

PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEACCESS = -6
Preferences cannot be written to file because of access permission errors

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEERROR [line 123]

PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEERROR = -7
An error occurred while trying to write the preferences to file

[ Top ]



PEAR_PACKAGEUPDATE_PREF_NEXTRELEASE [line 42]

PEAR_PACKAGEUPDATE_PREF_NEXTRELEASE = 1
Check to see if the user has requested not to be asked until a new version is released.

[ Top ]



PEAR_PACKAGEUPDATE_PREF_NOUPDATES [line 37]

PEAR_PACKAGEUPDATE_PREF_NOUPDATES = 0
Check to see if the user wants to be notified about any updates for this package.

[ Top ]



PEAR_PACKAGEUPDATE_PREF_STATE [line 52]

PEAR_PACKAGEUPDATE_PREF_STATE = 3
Check to see if the user has requested not to be asked about the state of the latest release.

[ Top ]



PEAR_PACKAGEUPDATE_PREF_TYPE [line 47]

PEAR_PACKAGEUPDATE_PREF_TYPE = 2
Check to see if the user only wants to be asked about a certain type of release (bug|minor|major).

[ Top ]



PEAR_PACKAGEUPDATE_STATE_ALPHA [line 69]

PEAR_PACKAGEUPDATE_STATE_ALPHA = 'alpha'
Check to see if the user has requested to be asked when the latest release is an alpha release.

[ Top ]



PEAR_PACKAGEUPDATE_STATE_BETA [line 74]

PEAR_PACKAGEUPDATE_STATE_BETA = 'beta'
Check to see if the user has requested to be asked when the latest release is an beta release.

[ Top ]



PEAR_PACKAGEUPDATE_STATE_DEVEL [line 64]

PEAR_PACKAGEUPDATE_STATE_DEVEL = 'devel'
Check to see if the user has requested to be asked when the latest release is a devel release.

[ Top ]



PEAR_PACKAGEUPDATE_STATE_SNAPSHOT [line 59]

PEAR_PACKAGEUPDATE_STATE_SNAPSHOT = 'snapshot'
Check to see if the user has requested to be asked when the latest release is a snapshot release.

[ Top ]



PEAR_PACKAGEUPDATE_STATE_STABLE [line 79]

PEAR_PACKAGEUPDATE_STATE_STABLE = 'stable'
Check to see if the user has requested to be asked when the latest release is a stable release.

[ Top ]



PEAR_PACKAGEUPDATE_TYPE_BUG [line 85]

PEAR_PACKAGEUPDATE_TYPE_BUG = 'bug'
Check to see if the user only wants to be asked about a bug release

[ Top ]



PEAR_PACKAGEUPDATE_TYPE_MAJOR [line 93]

PEAR_PACKAGEUPDATE_TYPE_MAJOR = 'major'
Check to see if the user only wants to be asked about a major release

[ Top ]



PEAR_PACKAGEUPDATE_TYPE_MINOR [line 89]

PEAR_PACKAGEUPDATE_TYPE_MINOR = 'minor'
Check to see if the user only wants to be asked about a minor release

[ Top ]



Documentation generated on Sun, 15 Jun 2008 10:30:04 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.