Base
in package
Tags
Table of Contents
- $version : int
- The migration version
- $connection : Base
- Database connection adapter
- $logger : Horde_Log_Logger
- The logger
- __call() : mixed
- Proxy methods over to the connection
- __construct() : mixed
- announce() : mixed
- Announce migration
- downWithBenchmarks() : mixed
- log() : mixed
- migrate() : mixed
- Execute this migration in the named direction
- say() : mixed
- setLogger() : mixed
- upWithBechmarks() : mixed
Properties
$version
The migration version
public
int
$version
= null
$connection
Database connection adapter
protected
Base
$connection
$logger
The logger
protected
Horde_Log_Logger
$logger
Methods
__call()
Proxy methods over to the connection
public
__call(string $method, array<string|int, mixed> $args) : mixed
Parameters
- $method : string
- $args : array<string|int, mixed>
Return values
mixed —__construct()
public
__construct(Adapter $connection[, mixed $version = null ]) : mixed
Parameters
- $connection : Adapter
- $version : mixed = null
Return values
mixed —announce()
Announce migration
public
announce(string $message) : mixed
Parameters
- $message : string
Return values
mixed —downWithBenchmarks()
public
downWithBenchmarks() : mixed
Return values
mixed —log()
public
log([string $text = '' ]) : mixed
Parameters
- $text : string = ''
Return values
mixed —migrate()
Execute this migration in the named direction
public
migrate(mixed $direction) : mixed
Parameters
- $direction : mixed
Return values
mixed —say()
public
say(string $message[, bool $subitem = false ]) : mixed
Parameters
- $message : string
- $subitem : bool = false
Return values
mixed —setLogger()
public
setLogger(Horde_Log_Logger $logger) : mixed
Parameters
- $logger : Horde_Log_Logger
Return values
mixed —upWithBechmarks()
public
upWithBechmarks() : mixed