Go to the source code of this file.
Functions | |
| foreach($files as $f) | do_sql ($sql) |
| do_multi_sql ($insql, $fname) | |
| get_next_chunk ($insql, $fname) | |
| get_open_char ($str, $pos) | |
| get_close_char ($str, $pos, $ochar) | |
Variables | |
| if (!file_exists('profiles/cmdline.php')) | |
| $GLOBALS ['db'] = Registry::get('pronto:db:main') | |
| $args = $_SERVER['argv'] | |
| $opts = getopt("t:m:ca") | |
| if(empty($opts)) | $files = array() |
| if(isset($opts['t'])) else if(isset($opts['c'])) else if(isset($opts['m'])) else if(isset($opts['a'])) if(empty($files)) | $db = & Registry::get('pronto:db:main') |
| do_multi_sql | ( | $ | insql, | |
| $ | fname | |||
| ) |
The following functions were hijacked from PHPMiniAdmin, found here: http://phpminiadmin.sourceforge.net
Definition at line 94 of file load_schemas.php.
References $GLOBALS, do_sql(), get_close_char(), get_next_chunk(), and get_open_char().
| foreach ($files as $f) do_sql | ( | $ | sql | ) |
| get_close_char | ( | $ | str, | |
| $ | pos, | |||
| $ | ochar | |||
| ) |
Definition at line 172 of file load_schemas.php.
Referenced by do_multi_sql().
| get_next_chunk | ( | $ | insql, | |
| $ | fname | |||
| ) |
Definition at line 147 of file load_schemas.php.
Referenced by do_multi_sql().
| get_open_char | ( | $ | str, | |
| $ | pos | |||
| ) |
Definition at line 164 of file load_schemas.php.
Referenced by do_multi_sql().
| $args = $_SERVER['argv'] |
Definition at line 17 of file load_schemas.php.
| if (isset($opts['t'])) else if (isset($opts['c'])) else if (isset($opts['m'])) else if (isset($opts['a'])) if (empty($files)) $db = & Registry::get('pronto:db:main') |
Definition at line 70 of file load_schemas.php.
| if (empty($opts)) $files = array() |
Definition at line 36 of file load_schemas.php.
Referenced by Factory::build_class_map(), and Factory::newobj().
| $GLOBALS['db'] = Registry::get('pronto:db:main') |
Definition at line 15 of file load_schemas.php.
Referenced by do_multi_sql(), Template::fetch(), Registry::get(), Access::get_keys(), Access::serialize_keys(), Registry::set(), and Access::set_key().
| $opts = getopt("t:m:ca") |
Definition at line 20 of file load_schemas.php.
| if(!file_exists('profiles/cmdline.php')) |
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
Description: Create new tables in the database from the schema files.
Definition at line 11 of file load_schemas.php.
1.6.1