Go to the source code of this file.
Namespaces | |
FDL | |
Variables | |
global | $action |
$usage = new ApiUsage() | |
$appClass | |
$class | |
$db = $usage->addOptionalParameter('dbcoord', "Database name", null, getDbAccess()) | |
$phpClass = sprintf("%s/%s/Class.%s.php", DEFAULT_PUBDIR, $appClass, $class) | |
$o = new $class($db) | |
$sql = array() | |
$updateExistingTable = \Dcp\Core\PgInformationSchema::tableExists($o->dbaccess, 'public', $o->dbtable) | |
if($updateExistingTable) | $point = uniqid(sprintf('%s/%s', $appClass, $class) , true) |
if(($err=$o->savePoint($point))!== '') if($updateExistingTable) | else |
if(($err=$o->commitPoint($point))!== '') print nDone | n |
global $action |
Definition at line 20 of file updateclass.php.
$appClass |
Definition at line 27 of file updateclass.php.
$class |
Definition at line 38 of file updateclass.php.
$db = $usage->addOptionalParameter('dbcoord', "Database name", null, getDbAccess()) |
Definition at line 48 of file updateclass.php.
$o = new $class($db) |
Definition at line 58 of file updateclass.php.
$phpClass = sprintf("%s/%s/Class.%s.php", DEFAULT_PUBDIR, $appClass, $class) |
Definition at line 52 of file updateclass.php.
if ($updateExistingTable) $point = uniqid(sprintf('%s/%s', $appClass, $class) , true) |
Definition at line 88 of file updateclass.php.
$sql = array() |
Definition at line 60 of file updateclass.php.
$updateExistingTable = \Dcp\Core\PgInformationSchema::tableExists($o->dbaccess, 'public', $o->dbtable) |
Definition at line 61 of file updateclass.php.
Definition at line 24 of file updateclass.php.
Definition at line 107 of file updateclass.php.
Definition at line 112 of file updateclass.php.