PHP 클래스 Horde_Db_Migration_Base, horde

저자: Mike Naberezny ([email protected])
저자: Derek DeVries ([email protected])
저자: Chuck Hagenbuch ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$version integer The migration version

보호된 프로퍼티들

프로퍼티 타입 설명
$_connection Horde_Db_Adapter_Base Database connection adapter
$_logger Horde_Log_Logger The logger

공개 메소드들

메소드 설명
__call ( string $method, array $args ) Proxy methods over to the connection
__construct ( Horde_Db_Adapter $connection, $version = null )
announce ( string $message ) Announce migration
downWithBenchmarks ( )
log ( string $text = '' )
migrate ( $direction ) Execute this migration in the named direction
say ( string $message, boolean $subitem = false )
setLogger ( Horde_Log_Logger $logger )
upWithBechmarks ( )

메소드 상세

__call() 공개 메소드

Proxy methods over to the connection
public __call ( string $method, array $args )
$method string
$args array

__construct() 공개 메소드

public __construct ( Horde_Db_Adapter $connection, $version = null )
$connection Horde_Db_Adapter

announce() 공개 메소드

Announce migration
public announce ( string $message )
$message string

downWithBenchmarks() 공개 메소드

public downWithBenchmarks ( )

log() 공개 메소드

public log ( string $text = '' )
$text string

migrate() 공개 메소드

Execute this migration in the named direction
public migrate ( $direction )

say() 공개 메소드

public say ( string $message, boolean $subitem = false )
$message string
$subitem boolean

setLogger() 공개 메소드

public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger

upWithBechmarks() 공개 메소드

public upWithBechmarks ( )

프로퍼티 상세

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

Database connection adapter
protected Horde_Db_Adapter_Base $_connection
리턴 Horde_Db_Adapter_Base

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

The logger
protected Horde_Log_Logger $_logger
리턴 Horde_Log_Logger

$version 공개적으로 프로퍼티

The migration version
public int $version
리턴 integer