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

File: PackageUpdate.php

Source Location: /PEAR_PackageUpdate-1.1.0RC1/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

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

Includes:

require_once('PEAR/ErrorStack.php') [line 23]
require_once('PEAR/Config.php') [line 24]

PEAR_PACKAGEUPDATE_ERROR_INVALIDDRIVER [line 145]

PEAR_PACKAGEUPDATE_ERROR_INVALIDDRIVER = -14
Invalid driver structure

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_INVALIDINIFILE [line 141]

PEAR_PACKAGEUPDATE_ERROR_INVALIDINIFILE = -13
Invalid INI file

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_INVALIDPREF [line 133]

PEAR_PACKAGEUPDATE_ERROR_INVALIDPREF = -11
Invalid preference identifier

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_INVALIDSTATE [line 129]

PEAR_PACKAGEUPDATE_ERROR_INVALIDSTATE = -10
Invalid release state

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_INVALIDTYPE [line 125]

PEAR_PACKAGEUPDATE_ERROR_INVALIDTYPE = -9
Invalid release type

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOCHANNEL [line 97]

PEAR_PACKAGEUPDATE_ERROR_NOCHANNEL = -2
No channel name provided

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOINFO [line 101]

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

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NONEXISTENTDRIVER [line 137]

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

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOPACKAGE [line 93]

PEAR_PACKAGEUPDATE_ERROR_NOPACKAGE = -1
No package name provided

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_NOTINSTALLED [line 105]

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

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_CORRUPTED [line 121]

PEAR_PACKAGEUPDATE_ERROR_PREFFILE_CORRUPTED = -8
Preferences file is corrupted

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_READACCESS [line 109]

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

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEACCESS [line 113]

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

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_PREFFILE_WRITEERROR [line 117]

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

[ Top ]



PEAR_PACKAGEUPDATE_ERROR_WRONGADAPTER [line 149]

PEAR_PACKAGEUPDATE_ERROR_WRONGADAPTER = -15
Wrong adapter

[ Top ]



PEAR_PACKAGEUPDATE_PREF_NEXTRELEASE [line 36]

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

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

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

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

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

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

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

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

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

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

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

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

[ Top ]



Documentation generated on Thu, 07 May 2009 22:00:02 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.