PHP Class Horde_Pear_Package_Contents_InstallAs_HordeApplication, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: implements Horde_Pear_Package_Contents_InstallAs
Show file Open project: horde/horde

Public Methods

Method Description
__construct ( Horde_Pear_Package_Type $type ) Constructor.
getInstallAs ( string $file, string $package ) : string Tell which location the specified file should be installed to.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Pear_Package_Type $type )
$type Horde_Pear_Package_Type The package type.

getInstallAs() public method

Tell which location the specified file should be installed to.
public getInstallAs ( string $file, string $package ) : string
$file string The file name.
$package string The package name.
return string The install location for the file.