PHP Class Components_Pear_Package, horde

Copyright 2010-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.
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
__construct ( Components_Output $output ) Constructor.
getChannel ( ) : string Return the channel for the package.
getComponentDirectory ( ) : string Return the base directory of the component.
getDependencies ( ) : array Return the dependencies for the package.
getDescription ( ) : string Return the description for this package.
getEnvironment ( ) : Components_Pear_Environment Return the PEAR environment for this package.
getInstallationFilelist ( ) : array Return the list of files that should be installed for this package.
getLeads ( ) : string Return the leads for this package.
getLicense ( ) : string Return the license for this package.
getLicenseLocation ( ) : string Return the license location for this package.
getMaintainers ( ) : string Return the maintainers for this package.
getName ( ) : string Return the name for this package.
getPackageXml ( ) : string Return the path to the package.xml.
getSummary ( ) : string Return the summary for this package.
getVersion ( ) : string Return the version for this package.
setEnvironment ( Components_Pear_Environment $environment ) : null Define the surrounding PEAR environment for the package.
setFactory ( Components_Pear_Factory $factory ) : null Define the factory that creates our PEAR dependencies.
setPackageTgz ( string $package_tgz_path ) : null Define the package to work on.
setPackageXml ( string $package_xml_path ) : null Define the package to work on.

Private Methods

Méthode Description
_checkSetup ( ) : null Validate that the required parameters for providing the package definition are set.
_getPackageFile ( ) : PEAR_PackageFile Return the PEAR Package representation.
_getPackageXml ( ) : Horde_Pear_Package_Xml Return the package.xml handler.

Method Details

__construct() public méthode

Constructor.
public __construct ( Components_Output $output )
$output Components_Output The output handler.

getChannel() public méthode

Return the channel for the package.
public getChannel ( ) : string
Résultat string The package channel.

getComponentDirectory() public méthode

Return the base directory of the component.
public getComponentDirectory ( ) : string
Résultat string

getDependencies() public méthode

Return the dependencies for the package.
public getDependencies ( ) : array
Résultat array The list of dependencies.

getDescription() public méthode

Return the description for this package.
public getDescription ( ) : string
Résultat string The package description.

getEnvironment() public méthode

Return the PEAR environment for this package.
public getEnvironment ( ) : Components_Pear_Environment
Résultat Components_Pear_Environment

getInstallationFilelist() public méthode

Return the list of files that should be installed for this package.
public getInstallationFilelist ( ) : array
Résultat array The file list.

getLeads() public méthode

Return the leads for this package.
public getLeads ( ) : string
Résultat string The package leads.

getLicense() public méthode

Return the license for this package.
public getLicense ( ) : string
Résultat string The package license.

getLicenseLocation() public méthode

Return the license location for this package.
public getLicenseLocation ( ) : string
Résultat string The package license location.

getMaintainers() public méthode

Return the maintainers for this package.
public getMaintainers ( ) : string
Résultat string The package maintainers.

getName() public méthode

Return the name for this package.
public getName ( ) : string
Résultat string The package name.

getPackageXml() public méthode

Return the path to the package.xml.
public getPackageXml ( ) : string
Résultat string

getSummary() public méthode

Return the summary for this package.
public getSummary ( ) : string
Résultat string The package summary.

getVersion() public méthode

Return the version for this package.
public getVersion ( ) : string
Résultat string The package version.

setEnvironment() public méthode

Define the surrounding PEAR environment for the package.
public setEnvironment ( Components_Pear_Environment $environment ) : null
$environment Components_Pear_Environment
Résultat null

setFactory() public méthode

Define the factory that creates our PEAR dependencies.
public setFactory ( Components_Pear_Factory $factory ) : null
$factory Components_Pear_Factory
Résultat null

setPackageTgz() public méthode

Define the package to work on.
public setPackageTgz ( string $package_tgz_path ) : null
$package_tgz_path string Path to the *.tgz file.
Résultat null

setPackageXml() public méthode

Define the package to work on.
public setPackageXml ( string $package_xml_path ) : null
$package_xml_path string Path to the package.xml file.
Résultat null