PEAR_PackageFileManager::addMaintainer (Previous) (Next) PEAR_PackageFileManager::addGlobalReplacement

View this page in Last updated: Sun, 24 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_PackageFileManager::addPlatformException()

PEAR_PackageFileManager::addPlatformException() -- Add an install-time platform conditional install for a file

Description

The format of the platform string must be OS-version-cpu-extra if any more specific information is needed, and the OS must be in lower case as in "windows." The match is performed using a regular expression, but uses * and ? wildcards instead of .* and .?. Note that hpux/aix/irix/linux are all exclusive. To select non-windows, use an expression like (*ix|*ux|darwin). If using PEAR 1.3.2 and newer, use !windows.

This information is based on eyeing the source for OS/Guess.php, so if you are unsure of what to do, read that file.

Paramètres

chaîne de caractères $path

relative path of file (relative to packagedirectory option)

chaîne de caractères $platform

platform descriptor string

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.

PEAR_PackageFileManager::addMaintainer (Previous) (Next) PEAR_PackageFileManager::addGlobalReplacement

Download Documentation Last updated: Sun, 24 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.