Horde_Pear_Package_Type_Horde
in package
implements
Horde_Pear_Package_Type
Horde_Pear_Package_Type_Horde:: deals with packages provided by Horde.
Tags
Interfaces, Classes and Traits
- Horde_Pear_Package_Type
- Horde_Pear_Package_Type:: defines a helper that identifies a package type.
Table of Contents
- $_repository_root : string
- The root path for the repository.
- $_root : string
- The root path for the package.
- __construct() : mixed
- 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.
Properties
$_repository_root
The root path for the repository.
protected
string
$_repository_root
$_root
The root path for the package.
protected
string
$_root
Methods
__construct()
Constructor.
public
__construct(string $root[, mixed $repository_root = null ]) : mixed
Parameters
- $root : string
-
The root path for the package.
- $repository_root : mixed = null
Return values
mixed —getGitIgnore()
Return the contents of the Horde .gitignore file.
public
getGitIgnore() : string
Return values
string —The .gitignore patterns.
getIgnore()
Return the ignore handler for this package.
public
getIgnore() : Horde_Pear_Package_Contents_Ignore
Return values
Horde_Pear_Package_Contents_Ignore —The ignore handler.
getInclude()
Return the include handler for this package.
public
getInclude() : Horde_Pear_Package_Contents_Include
Return values
Horde_Pear_Package_Contents_Include —The include handler.
getInstallAs()
Return the install-as handler for this package.
public
getInstallAs() : Horde_Pear_Package_Contents_InstallAs
Return values
Horde_Pear_Package_Contents_InstallAs —The install-as handler.
getName()
Get the package name.
public
getName() : string
Return values
string —The package name.
getPackageXmlPath()
Return the path to the package.xml file for the package.
public
getPackageXmlPath() : string
Return values
string —The path to the package.xml file.
getRepositoryRoot()
Return the path to the root of the Horde repository.
public
getRepositoryRoot() : string
.
Return values
string —The repository path.
getRole()
Return the role handler for this package.
public
getRole() : Horde_Pear_Package_Contents_Role
Return values
Horde_Pear_Package_Contents_Role —The role handler.
getRootPath()
Return the path to the root of the package.
public
getRootPath() : string
Return values
string —The path to the root.
getType()
Get the package type.
public
getType() : string
Return values
string —The type: "Application" or "Component".
writePackageXmlDraft()
Return the path to the root of the Horde repository.
public
writePackageXmlDraft() : string
.
Return values
string —The repository path.