PEAR_PackageUpdate::getInstalledRelease

PEAR_PackageUpdate::getInstalledRelease – Loads the latest package information from the current installation.

Synopsis

require_once 'PEAR/PackageUpdate.php';

mixed PEAR_PackageUpdate::getInstalledRelease ( )

Description

Loads the informations about current installed version of the package.

string version

The version of installed package name.

string license

The license this package is released under.

string summary

A short description about the package.

string description

A long description about the package.

string releasedate

The date of the release of the version installed.

string releasenotes

Description about changes on the package from previous release.

string state

The state of the package release installed (snapshot|devel|alpha|beta|stable).

array deps

The list of dependencies for this release of the package.

string xsdversion

The version of the XML package used to install this release (1.0 or 2.0).

string packagerversion

The version of the PEAR packager that was used to build this release.

Note

since 0.6.0

This function can not be called statically.

Return value

boolean - FALSE if the information was not available.

array - informations about the current installed version of the package (version, license, summary, description, releasedate, releasenotes, state, deps, xsdversion, packagerversion).