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

Variables

if(!isset($_language)) $_language_path = init_i18n($_language)
 $path = $STUDIP_BASE_PATH.'/db/migrations'
 $verbose = false
 $target = NULL
if(isset($_REQUEST['target'])) $version = new DBSchemaVersion('studip')
 $migrator = new Migrator($path, $version, $verbose)
if(isset($_REQUEST['start'])||isset($_REQUEST['start_x'])) $current = $version->get()
 $migrations = $migrator->relevant_migrations($target)
 $template = $template_factory->open('web_migrate')

Variable Documentation

if (!isset($_language)) $_language_path = init_i18n($_language)
if (isset($_REQUEST['start'])||isset($_REQUEST['start_x'])) $current = $version->get()
$migrations = $migrator->relevant_migrations($target)
$migrator = new Migrator($path, $version, $verbose)
$path = $STUDIP_BASE_PATH.'/db/migrations'
$target = NULL
$template = $template_factory->open('web_migrate')
$verbose = false
if (isset($_REQUEST['target'])) $version = new DBSchemaVersion('studip')