ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Go to the source code of this file.
Variables | |
if($argc< 2) | $paths |
foreach($paths as $path) | $dsn = $argv[1] |
$user = isset($argv[2]) ? $argv[2] : null | |
$pass = isset($argv[3]) ? $argv[3] : null | |
$pdo = new PDO($dsn, $user, $pass) | |
$driver = $pdo->getAttribute(PDO::ATTR_DRIVER_NAME) | |
switch ( $driver) | |
$addUid = false | |
try | |
$row = $result->fetch(\PDO::FETCH_ASSOC) | |
if(! $row) elseif(array_key_exists('uid', $row)) | else |
catch(Exception $e) | if ( $addUid) |
$addUid = false |
Definition at line 83 of file migrateto21.php.
$driver = $pdo->getAttribute(PDO::ATTR_DRIVER_NAME) |
Definition at line 67 of file migrateto21.php.
foreach ( $paths as $path) $dsn = $argv[1] |
Definition at line 57 of file migrateto21.php.
$pass = isset($argv[3]) ? $argv[3] : null |
Definition at line 59 of file migrateto21.php.
if ( $argc< 2) $paths |
Definition at line 45 of file migrateto21.php.
$pdo = new PDO($dsn, $user, $pass) |
Definition at line 63 of file migrateto21.php.
$row = $result->fetch(\PDO::FETCH_ASSOC) |
Definition at line 86 of file migrateto21.php.
$user = isset($argv[2]) ? $argv[2] : null |
Definition at line 58 of file migrateto21.php.
if (! $row) elseif (array_key_exists( 'uid', $row)) else |
Definition at line 94 of file migrateto21.php.
catch (Exception $e) if($addUid) |
Definition at line 104 of file migrateto21.php.
switch |
Definition at line 69 of file migrateto21.php.
try |
Definition at line 84 of file migrateto21.php.