PEAR_Common::infoFromAny()
PEAR_Common::infoFromAny() -- Returns package information from different sources
Synopsis
require_once 'PEAR/common.php'; |
string PEAR_Common::infoFromAny (string $info)
Beschreibung
Returns package information from different sources.
This method is able to extract information about a package
from a .tgz archive or from a XML package definition file.
Parameter
- string
$info
Filename of the source ('package.xml',
'<package>.tgz')
Rückgabewert
string -
Package information
Fehler-Meldungen
Tabelle 32-1. Mögliche Fehler-Arten
| Error code | Error value | Meaning | Solution |
|---|
| | „“ | | |
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.