PHP Class Horde_Pear_Package_Type_Horde, 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_Type
Show file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( string $root, $repository_root = null ) Constructor.
getGitIgnore ( ) : string Return the contents of the Horde .gitignore file.
getIgnore ( ) : Horde_Pear_Package_Contents_Ignore Return the ignore handler for this package.
getInclude ( ) : Horde_Pear_Package_Contents_Include Return the include handler for this package.
getInstallAs ( ) : Horde_Pear_Package_Contents_InstallAs Return the install-as handler for this package.
getName ( ) : string Get the package name.
getPackageXmlPath ( ) : string Return the path to the package.xml file for the package.
getRepositoryRoot ( ) : string Return the path to the root of the Horde repository.
getRole ( ) : Horde_Pear_Package_Contents_Role Return the role handler for this package.
getRootPath ( ) : string Return the path to the root of the package.
getType ( ) : string Get the package type.
writePackageXmlDraft ( ) : string Return the path to the root of the Horde repository.

Method Details

__construct() public method

Constructor.
public __construct ( string $root, $repository_root = null )
$root string The root path for the package.

getGitIgnore() public method

Return the contents of the Horde .gitignore file.
public getGitIgnore ( ) : string
return string The .gitignore patterns.

getIgnore() public method

Return the ignore handler for this package.
public getIgnore ( ) : Horde_Pear_Package_Contents_Ignore
return Horde_Pear_Package_Contents_Ignore The ignore handler.

getInclude() public method

Return the include handler for this package.
public getInclude ( ) : Horde_Pear_Package_Contents_Include
return Horde_Pear_Package_Contents_Include The include handler.

getInstallAs() public method

Return the install-as handler for this package.
public getInstallAs ( ) : Horde_Pear_Package_Contents_InstallAs
return Horde_Pear_Package_Contents_InstallAs The install-as handler.

getName() public method

Get the package name.
public getName ( ) : string
return string The package name.

getPackageXmlPath() public method

Return the path to the package.xml file for the package.
public getPackageXmlPath ( ) : string
return string The path to the package.xml file.

getRepositoryRoot() public method

.
public getRepositoryRoot ( ) : string
return string The repository path.

getRole() public method

Return the role handler for this package.
public getRole ( ) : Horde_Pear_Package_Contents_Role
return Horde_Pear_Package_Contents_Role The role handler.

getRootPath() public method

Return the path to the root of the package.
public getRootPath ( ) : string
return string The path to the root.

getType() public method

Get the package type.
public getType ( ) : string
return string The type: "Application" or "Component".

writePackageXmlDraft() public method

.
public writePackageXmlDraft ( ) : string
return string The repository path.