PHP Class Horde_Db_Migration_Base, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$version integer The migration version

Protected Properties

Свойство Type Description
$_connection Horde_Db_Adapter_Base Database connection adapter
$_logger Horde_Log_Logger The logger

Méthodes publiques

Méthode Description
__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 ( )

Method Details

__call() public méthode

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

__construct() public méthode

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

announce() public méthode

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

downWithBenchmarks() public méthode

public downWithBenchmarks ( )

log() public méthode

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

migrate() public méthode

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

say() public méthode

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

setLogger() public méthode

public setLogger ( Horde_Log_Logger $logger )
$logger Horde_Log_Logger

upWithBechmarks() public méthode

public upWithBechmarks ( )

Property Details

$_connection protected_oe property

Database connection adapter
protected Horde_Db_Adapter_Base $_connection
Résultat Horde_Db_Adapter_Base

$_logger protected_oe property

The logger
protected Horde_Log_Logger $_logger
Résultat Horde_Log_Logger

$version public_oe property

The migration version
public int $version
Résultat integer