\Horde_Pear_Package_Contents_Role

Horde_Pear_Package_Contents_Role:: defines role handlers for package.xml filelists.

Summary

Methods
Constants
getRole()
getReplace()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getRole()

getRole(string  $file) : string

Tell which role the specified file has.

Parameters

string $file

The file name.

Returns

string —

The role of the file.

getReplace()

getReplace(string  $file, string  $root) : array

Tell which replacement tasks are required for the specified file.

Parameters

string $file

The file path inside the component.

string $root

The filesystem root of the component.

Returns

array —

A list of attribute hashes.