PHP 클래스 PEAR_Command_Install

저자: Stig Bakken ([email protected])
저자: Greg Beaver ([email protected])
상속: extends PEAR_Command_Common
파일 보기 프로젝트 열기: sourcefabric/newscoop 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$commands {{{ properties

공개 메소드들

메소드 설명
PEAR_Command_Install ( &$ui, &$config ) PEAR_Command_Install constructor.
_filterUptodatePackages ( $packages, $command ) : list Given a list of packages, filter out those ones that are already up to date
_parseIni ( $filename )
disableExtension ( $binaries, $type )
doBundle ( $command, $options, $params ) * (cox) It just downloads and untars the package, does not do any check that the PEAR_Installer::_installFile() does.
doInstall ( $command, $options, $params ) {{{ doInstall()
doRunScripts ( $command, $options, $params ) }}}
doUninstall ( $command, $options, $params ) {{{ doUninstall()
doUpgradeAll ( $command, $options, $params ) {{{ doUpgradeAll()
enableExtension ( $binaries, $type )
getDownloader ( &$ui, $options, &$config ) For unit testing purposes
getInstaller ( &$ui ) For unit testing purposes

메소드 상세

PEAR_Command_Install() 공개 메소드

PEAR_Command_Install constructor.
public PEAR_Command_Install ( &$ui, &$config )

_filterUptodatePackages() 공개 메소드

Given a list of packages, filter out those ones that are already up to date
public _filterUptodatePackages ( $packages, $command ) : list
리턴 list of packages that can be upgraded

_parseIni() 공개 메소드

public _parseIni ( $filename )

disableExtension() 공개 메소드

public disableExtension ( $binaries, $type )

doBundle() 공개 메소드

* (cox) It just downloads and untars the package, does not do any check that the PEAR_Installer::_installFile() does.
public doBundle ( $command, $options, $params )

doInstall() 공개 메소드

{{{ doInstall()
public doInstall ( $command, $options, $params )

doRunScripts() 공개 메소드

}}}
public doRunScripts ( $command, $options, $params )

doUninstall() 공개 메소드

{{{ doUninstall()
public doUninstall ( $command, $options, $params )

doUpgradeAll() 공개 메소드

{{{ doUpgradeAll()
public doUpgradeAll ( $command, $options, $params )

enableExtension() 공개 메소드

public enableExtension ( $binaries, $type )

getDownloader() 공개 메소드

For unit testing purposes
public getDownloader ( &$ui, $options, &$config )

getInstaller() 공개 메소드

For unit testing purposes
public getInstaller ( &$ui )

프로퍼티 상세

$commands 공개적으로 프로퍼티

{{{ properties
public $commands