Horde_Pear_Package_Contents_InstallAs_HordeApplication
in package
implements
Horde_Pear_Package_Contents_InstallAs
Horde_Pear_Package_Contents_InstallAs_HordeApplication:: determines install locations for Horde applications.
Tags
Interfaces, Classes and Traits
- Horde_Pear_Package_Contents_InstallAs
- Horde_Pear_Package_Contents_InstallAs:: defines location handlers for package.xml filelists.
Table of Contents
- $_type : Horde_Pear_Package_Type
- The package type.
- __construct() : mixed
- Constructor.
- getInstallAs() : string
- Tell which location the specified file should be installed to.
Properties
$_type
The package type.
private
Horde_Pear_Package_Type
$_type
Methods
__construct()
Constructor.
public
__construct(Horde_Pear_Package_Type $type) : mixed
Parameters
- $type : Horde_Pear_Package_Type
-
The package type.
Return values
mixed —getInstallAs()
Tell which location the specified file should be installed to.
public
getInstallAs(string $file, string $package) : string
Parameters
- $file : string
-
The file name.
- $package : string
-
The package name.
Return values
string —The install location for the file.