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

Go to the source code of this file.

Functions

 report2cli ($report)
 
 report2csv ($report, $outfile)
 
 xfputcsv ($fh, $fields)
 

Variables

global $action
 
 $usage = new ApiUsage()
 
 $check = ($usage->addEmptyParameter("dryrun", "Check consistency only (non-destructive mode)") !== false)
 
 $csv = $usage->addOptionalParameter("csv", "Output details to CSV file (with comma delimiter [,], double-quote enclosure [\"], and backslash escape char [\\])", null, false)
 
 $vaultAnalyzer = new \Dcp\Vault\VaultAnalyzer()
 
 $report = array()
 
 $consistent = false
 
if($checkelse
 

Function Documentation

report2cli (   $report)

Definition at line 44 of file refreshVaultIndex.php.

report2csv (   $report,
  $outfile 
)

Definition at line 52 of file refreshVaultIndex.php.

+ Here is the call graph for this function:

xfputcsv (   $fh,
  $fields 
)

Definition at line 85 of file refreshVaultIndex.php.

Variable Documentation

global $action

Definition at line 9 of file refreshVaultIndex.php.

$check = ($usage->addEmptyParameter("dryrun", "Check consistency only (non-destructive mode)") !== false)

Definition at line 21 of file refreshVaultIndex.php.

$consistent = false

Definition at line 27 of file refreshVaultIndex.php.

$csv = $usage->addOptionalParameter("csv", "Output details to CSV file (with comma delimiter [,], double-quote enclosure [\"], and backslash escape char [\\])", null, false)

Definition at line 22 of file refreshVaultIndex.php.

$report = array()

Definition at line 26 of file refreshVaultIndex.php.

$usage = new ApiUsage()

Parse arguments

Definition at line 18 of file refreshVaultIndex.php.

$vaultAnalyzer = new \Dcp\Vault\VaultAnalyzer()

Definition at line 25 of file refreshVaultIndex.php.

if ($consistent) else
Initial value:
{
$consistent = $vaultAnalyzer->regenerateDocVaultIndex($report)
$vaultAnalyzer

Definition at line 30 of file refreshVaultIndex.php.

← centre documentaire © anakeen