PHP 클래스 Horde_Core_Db_Migration, horde

저자: Jan Schneider ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$apps array List of all module names matching the directories in $dirs.
$dirs array List of all migration directories.

보호된 프로퍼티들

프로퍼티 타입 설명
$_lower array List of all lower case module names matching the directories in $dirs.

공개 메소드들

메소드 설명
__construct ( string $basedir = null, string $pearconf = null ) Constructor.
getMigrator ( string $app, Horde_Log_Logger $logger = null ) : Horde_Db_Migration_Migrator Returns a migrator for a module.

메소드 상세

__construct() 공개 메소드

Searches all installed applications and libraries for migration directories and builds lists of migrateable modules and directories.
public __construct ( string $basedir = null, string $pearconf = null )
$basedir string Base directory of a Git checkout. If provided a framework/ sub directory is searched for migration scripts too.
$pearconf string Path to a PEAR configuration file.

getMigrator() 공개 메소드

Returns a migrator for a module.
public getMigrator ( string $app, Horde_Log_Logger $logger = null ) : Horde_Db_Migration_Migrator
$app string An application or library name.
$logger Horde_Log_Logger A logger instance.
리턴 Horde_Db_Migration_Migrator A migrator for the specified module.

프로퍼티 상세

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

List of all lower case module names matching the directories in $dirs.
protected array $_lower
리턴 array

$apps 공개적으로 프로퍼티

List of all module names matching the directories in $dirs.
public array $apps
리턴 array

$dirs 공개적으로 프로퍼티

List of all migration directories.
public array $dirs
리턴 array