PHP 클래스 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.
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__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.

비공개 메소드들

메소드 설명
_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.

메소드 상세

__construct() 공개 메소드

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

getChannel() 공개 메소드

Return the channel for the package.
public getChannel ( ) : string
리턴 string The package channel.

getComponentDirectory() 공개 메소드

Return the base directory of the component.
public getComponentDirectory ( ) : string
리턴 string

getDependencies() 공개 메소드

Return the dependencies for the package.
public getDependencies ( ) : array
리턴 array The list of dependencies.

getDescription() 공개 메소드

Return the description for this package.
public getDescription ( ) : string
리턴 string The package description.

getEnvironment() 공개 메소드

Return the PEAR environment for this package.
public getEnvironment ( ) : Components_Pear_Environment
리턴 Components_Pear_Environment

getInstallationFilelist() 공개 메소드

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

getLeads() 공개 메소드

Return the leads for this package.
public getLeads ( ) : string
리턴 string The package leads.

getLicense() 공개 메소드

Return the license for this package.
public getLicense ( ) : string
리턴 string The package license.

getLicenseLocation() 공개 메소드

Return the license location for this package.
public getLicenseLocation ( ) : string
리턴 string The package license location.

getMaintainers() 공개 메소드

Return the maintainers for this package.
public getMaintainers ( ) : string
리턴 string The package maintainers.

getName() 공개 메소드

Return the name for this package.
public getName ( ) : string
리턴 string The package name.

getPackageXml() 공개 메소드

Return the path to the package.xml.
public getPackageXml ( ) : string
리턴 string

getSummary() 공개 메소드

Return the summary for this package.
public getSummary ( ) : string
리턴 string The package summary.

getVersion() 공개 메소드

Return the version for this package.
public getVersion ( ) : string
리턴 string The package version.

setEnvironment() 공개 메소드

Define the surrounding PEAR environment for the package.
public setEnvironment ( Components_Pear_Environment $environment ) : null
$environment Components_Pear_Environment
리턴 null

setFactory() 공개 메소드

Define the factory that creates our PEAR dependencies.
public setFactory ( Components_Pear_Factory $factory ) : null
$factory Components_Pear_Factory
리턴 null

setPackageTgz() 공개 메소드

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

setPackageXml() 공개 메소드

Define the package to work on.
public setPackageXml ( string $package_xml_path ) : null
$package_xml_path string Path to the package.xml file.
리턴 null