\Horde_Pear_Package_Contents_Role_HordeComponent

Horde_Pear_Package_Contents_Role_HordeComponent:: handles file roles for Horde components.

Summary

Methods
Properties
Constants
getRole()
getReplace()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties 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.