Go to the source code of this file.
Functions | |
| printres ($t, $csv=false) | |
| view ($dbaccess, $vaultname, $filter=array()) | |
| loclog ($s) | |
| cleanVault ($dbaccess, $vaultname, $vt, $test) | |
Variables | |
| global | $appl = new Application() |
| global | $action |
| $dbaccess = $appl->dbaccess | |
| if($dbaccess=="") | $usage = new ApiUsage() |
| $vaultname = $usage->addOptionalParameter("vault", "Name of the vault to examine", null, "FREEDOM") | |
| $test = $usage->addEmptyParameter("test", "Enable/disable test mode: do not delete anything, just print what would be done") | |
| $command | |
| $csv = $usage->addEmptyParameter("csv", "Output in CSV format") | |
| switch($command) | exit |
| cleanVault | ( | $dbaccess, | |
| $vaultname, | |||
| $vt, | |||
| $test | |||
| ) |
| loclog | ( | $s | ) |
Definition at line 149 of file checkVault.php.
| printres | ( | $t, | |
$csv = false |
|||
| ) |
Definition at line 76 of file checkVault.php.
| view | ( | $dbaccess, | |
| $vaultname, | |||
$filter = array() |
|||
| ) |
Definition at line 106 of file checkVault.php.
| global $action |
Definition at line 9 of file checkVault.php.
| $appl = new Application() |
Definition at line 9 of file checkVault.php.
| $command |
Definition at line 34 of file checkVault.php.
| $csv = $usage->addEmptyParameter("csv", "Output in CSV format") |
Definition at line 41 of file checkVault.php.
| $dbaccess = $appl->dbaccess |
Definition at line 17 of file checkVault.php.
| $test = $usage->addEmptyParameter("test", "Enable/disable test mode: do not delete anything, just print what would be done") |
Definition at line 30 of file checkVault.php.
Parse arguments
Definition at line 25 of file checkVault.php.
| $vaultname = $usage->addOptionalParameter("vault", "Name of the vault to examine", null, "FREEDOM") |
Definition at line 28 of file checkVault.php.
| switch ($command) exit |
Definition at line 46 of file checkVault.php.