PHP 클래스 DbPatch_Core_Application

Setup different objects and fireup the command runner
저자: Sandy Pleyte
저자: Martijn De Letter
파일 보기 프로젝트 열기: dbpatch/dbpatch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config Zend_Config

공개 메소드들

메소드 설명
main ( ) : void Initialize the dbpatch application Typically called from bin/dbpatch.php
setConfig ( Zend_Config $config )

보호된 메소드들

메소드 설명
getCommandRunner ( DbPatch_Core_Writer $writer ) : DbPatch_Command_Runner
getConfig ( string $filename = null ) : null | Zend_Config | Zend_Config_Ini | Zend_Config_Xml
getConsole ( array $argv ) : DbPatch_Core_Console
getDb ( Zend_Config | Zend_Config_Ini | Zend_Config_Xml $config ) : null | DbPatch_Core_Db
getWriter ( ) : DbPatch_Core_Writer
getWriterColor ( ) : DbPatch_Core_Color

메소드 상세

getCommandRunner() 보호된 메소드

protected getCommandRunner ( DbPatch_Core_Writer $writer ) : DbPatch_Command_Runner
$writer DbPatch_Core_Writer
리턴 DbPatch_Command_Runner

getConfig() 보호된 메소드

protected getConfig ( string $filename = null ) : null | Zend_Config | Zend_Config_Ini | Zend_Config_Xml
$filename string
리턴 null | Zend_Config | Zend_Config_Ini | Zend_Config_Xml

getConsole() 보호된 메소드

protected getConsole ( array $argv ) : DbPatch_Core_Console
$argv array
리턴 DbPatch_Core_Console

getDb() 보호된 메소드

protected getDb ( Zend_Config | Zend_Config_Ini | Zend_Config_Xml $config ) : null | DbPatch_Core_Db
$config Zend_Config | Zend_Config_Ini | Zend_Config_Xml
리턴 null | DbPatch_Core_Db

getWriter() 보호된 메소드

protected getWriter ( ) : DbPatch_Core_Writer
리턴 DbPatch_Core_Writer

getWriterColor() 보호된 메소드

protected getWriterColor ( ) : DbPatch_Core_Color
리턴 DbPatch_Core_Color

main() 공개 메소드

Initialize the dbpatch application Typically called from bin/dbpatch.php
public main ( ) : void
리턴 void

setConfig() 공개 메소드

public setConfig ( Zend_Config $config )
$config Zend_Config

프로퍼티 상세

$config 보호되어 있는 프로퍼티

protected Zend_Config $config
리턴 Zend_Config