Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
web_migrate.php File Reference

Variables

if(empty($_SESSION['_language'])) $_language_path = init_i18n($_SESSION['_language'])
 $path = $GLOBALS['STUDIP_BASE_PATH'].'/db/migrations'
 $verbose = false
 $target = NULL
if(Request::int('target')) $version = new DBSchemaVersion('studip')
 $migrator = new Migrator($path, $version, $verbose)
if(Request::submitted('start')) $current = $version->get()
 $migrations = $migrator->relevant_migrations($target)
 $template = $template_factory->open('web_migrate')

Variable Documentation

if (empty($_SESSION['_language'])) $_language_path = init_i18n($_SESSION['_language'])
if (Request::submitted('start')) $current = $version->get()
$migrations = $migrator->relevant_migrations($target)
$migrator = new Migrator($path, $version, $verbose)
$path = $GLOBALS['STUDIP_BASE_PATH'].'/db/migrations'
$target = NULL
$template = $template_factory->open('web_migrate')
$verbose = false
if (Request::int('target')) $version = new DBSchemaVersion('studip')