\Horde_Pear_Package_Contents_InstallAs_HordeApplication

Horde_Pear_Package_Contents_InstallAs_HordeApplication:: determines install locations for Horde applications.

Summary

Methods
Properties
Constants
__construct()
getInstallAs()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_type
N/A

Properties

Methods

__construct()

__construct(\Horde_Pear_Package_Type  $type) 

Constructor.

Parameters

\Horde_Pear_Package_Type $type

The package type.

getInstallAs()

getInstallAs(string  $file, string  $package) : string

Tell which location the specified file should be installed to.

Parameters

string $file

The file name.

string $package

The package name.

Returns

string —

The install location for the file.