\Horde_Core_Db_Migration

Summary

Methods
Properties
Constants
__construct()
getMigrator()
$dirs
$apps
No constants found
No protected methods found
$_lower
N/A
No private methods found
No private properties found
N/A

Properties

$dirs

$dirs : array

List of all migration directories.

Type

array

$apps

$apps : array

List of all module names matching the directories in $dirs.

Type

array

$_lower

$_lower : array

List of all lower case module names matching the directories in $dirs.

Type

array

Methods

__construct()

__construct(string  $basedir = null, string  $pearconf = null) 

Constructor.

Searches all installed applications and libraries for migration directories and builds lists of migrateable modules and directories.

Parameters

string $basedir

Base directory of all Git checkouts.

string $pearconf

Path to a PEAR configuration file.

getMigrator()

getMigrator(string  $app, \Horde_Log_Logger  $logger = null) : \Horde_Db_Migration_Migrator

Returns a migrator for a module.

Parameters

string $app

An application or library name.

\Horde_Log_Logger $logger

A logger instance.

Returns

\Horde_Db_Migration_Migrator —

A migrator for the specified module.