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

Go to the source code of this file.

Namespaces

 FDL
 

Variables

global $pubdir
 
global $appl
 
 $usage = new ApiUsage()
 
 $dirname = $usage->addOptionalParameter("path", "path to vault", null, "$pubdir/vaultfs")
 
 $fsname = $usage->addOptionalParameter("name", "Fs name", null, "FREEDOM")
 
 $size_in_bytes = $usage->addOptionalParameter("size", "Vault size", null, 500 * 1024 * 1024)
 
 $dbaccess = $appl->dbaccess
 
 $err = ""
 

Variable Documentation

global $appl

Definition at line 18 of file vault_init.php.

$dbaccess = $appl->dbaccess

Definition at line 30 of file vault_init.php.

$dirname = $usage->addOptionalParameter("path", "path to vault", null, "$pubdir/vaultfs")

Definition at line 25 of file vault_init.php.

if (!is_dir($dirname)) if (!is_dir($dirname)) if ($err=="") if ($err) print sprintf(_("ERROR %s\n") $err = ""

Definition at line 31 of file vault_init.php.

$fsname = $usage->addOptionalParameter("name", "Fs name", null, "FREEDOM")

Definition at line 26 of file vault_init.php.

global $pubdir

Definition at line 18 of file vault_init.php.

$size_in_bytes = $usage->addOptionalParameter("size", "Vault size", null, 500 * 1024 * 1024)

Definition at line 27 of file vault_init.php.

$usage = new ApiUsage()

Definition at line 22 of file vault_init.php.

← centre documentaire © anakeen