\Horde_Pear_Package_Type_HordeTheme

Horde_Pear_Package_Type_HordeTheme deals with theme packages provided by Horde.

Summary

Methods
Properties
Constants
__construct()
getRootPath()
getPackageXmlPath()
getInclude()
getIgnore()
getRole()
getInstallAs()
getType()
getName()
getGitIgnore()
getRepositoryRoot()
writePackageXmlDraft()
No public properties found
No constants found
No protected methods found
$_root
$_repository_root
N/A
No private methods found
No private properties found
N/A

Properties

$_root

$_root : string

The root path for the package.

Type

string

$_repository_root

$_repository_root : string

The root path for the repository.

Type

string

Methods

__construct()

__construct(string  $root,   $repository_root = null) 

Constructor.

Parameters

string $root

The root path for the package.

$repository_root

getRootPath()

getRootPath() : string

Return the path to the root of the package.

Returns

string —

The path to the root.

getPackageXmlPath()

getPackageXmlPath() : string

Return the path to the package.xml file for the package.

Returns

string —

The path to the package.xml file.

getInclude()

getInclude() : \Horde_Pear_Package_Contents_Include

Return the include handler for this package.

Returns

\Horde_Pear_Package_Contents_Include

The include handler.

getIgnore()

getIgnore() : \Horde_Pear_Package_Contents_Ignore

Return the ignore handler for this package.

Returns

\Horde_Pear_Package_Contents_Ignore

The ignore handler.

getInstallAs()

getInstallAs() : \Horde_Pear_Package_Contents_InstallAs

Return the install-as handler for this package.

Returns

\Horde_Pear_Package_Contents_InstallAs

The install-as handler.

getType()

getType() : string

Get the package type.

Returns

string —

The type: "Application" or "Component".

getName()

getName() : string

Get the package name.

Returns

string —

The package name.

getGitIgnore()

getGitIgnore() : string

Return the contents of the Horde .gitignore file.

Returns

string —

The .gitignore patterns.

getRepositoryRoot()

getRepositoryRoot() : string

Return the path to the root of the Horde repository.

.

Returns

string —

The repository path.

writePackageXmlDraft()

writePackageXmlDraft() : string

Return the path to the root of the Horde repository.

.

Returns

string —

The repository path.