Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
checkVault.php File Reference

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
 

Function Documentation

cleanVault (   $dbaccess,
  $vaultname,
  $vt,
  $test 
)

Definition at line 154 of file checkVault.php.

+ Here is the call graph for this function:

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.

Variable Documentation

global $action

Definition at line 9 of file checkVault.php.

$appl = new Application()

Definition at line 9 of file checkVault.php.

$command
Initial value:
= $usage->addRequiredParameter("cmd", "Examine command", array(
"check-all",
"check-noref",
"check-nofile",
"clean-unref"
))
if($dbaccess=="") $usage
Definition: checkVault.php:25

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.

if ($dbaccess=="") $usage = new ApiUsage()

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.

← centre documentaire © anakeen