PEAR_PackageFileManager::
addReplacement
(Previous)
(Next) PEAR_PackageFileManager::
debugPackageFile

Last updated: Sun, 16 May 2004

PEAR_PackageFileManager::addRole()

PEAR_PackageFileManager::addRole() -- Add an extension/role mapping to the role mapping option

ïÐÉÓÁÎÉÅ

Roles influence both where a file is installed and how it is installed. Files with role="data" are in a completely different directory hierarchy from the program files of role="php"

In PEAR 1.3b2, these roles are

  • php (most common)

  • data

  • doc

  • test

  • script (gives the file an executable attribute)

  • src

ðÁÒÁÍÅÔÒ

string $extension

file extension

string $role

role

Throws

throws PEAR_PACKAGEFILEMANAGER_INVALID_ROLE

úÁÍÅÔËÁ

üÔÁ ÆÕÎËÃÉÑ ÎÅ ÄÏÌÖÎÁ ×ÙÚÙ×ÁÔØÓÑ ÓÔÁÔÉÞÅÓËÉ.

PEAR_PackageFileManager::
addReplacement
(Previous)
(Next) PEAR_PackageFileManager::
debugPackageFile

Download Documentation Last updated: Sun, 16 May 2004
Hosting
HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà