\Horde_Pear_Package_Contents_Role_HordeApplication

Horde_Pear_Package_Contents_Role_HordeApplication:: handles file roles for Horde applications.

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.