Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
VaultFile Class Reference
+ Collaboration diagram for VaultFile:

Public Member Functions

 __construct ($access, $vaultname="Sample", $idf=-1)
 
 show ($id_file, &$infos, $teng_lname="")
 
 updateAccessDate ($id_file)
 
 retrieve ($id_file, &$infos)
 
 store ($infile, $public_access, &$id, $fsname="", $te_name="", $te_id_file=0, $tmp=null)
 
 save ($infile, $public_access, $id)
 
 rename ($id_file, $newname)
 
 listFiles (&$s)
 
 destroy ($id)
 

Data Fields

 $idf
 
 $f_mode = 0600
 
 $d_mode = 0700
 
 $type = "fs"
 
const VAULT_DMODE = VAULT_DMODE
 
 $storage
 

Detailed Description

Definition at line 21 of file Class.VaultFile.php.

Constructor & Destructor Documentation

__construct (   $access,
  $vaultname = "Sample",
  $idf = - 1 
)

Definition at line 36 of file Class.VaultFile.php.

Member Function Documentation

destroy (   $id)

Definition at line 211 of file Class.VaultFile.php.

listFiles ( $s)

Definition at line 202 of file Class.VaultFile.php.

rename (   $id_file,
  $newname 
)

Modification of properties if file

Parameters
int$id_filevault id
string$newnamenew file name
Returns
string error message (empty if no error)

Definition at line 154 of file Class.VaultFile.php.

+ Here is the call graph for this function:

retrieve (   $id_file,
$infos 
)

retrieve information from vault id

Parameters
int$id_file
VaultFileInfo$infos
Returns
string error message

Definition at line 95 of file Class.VaultFile.php.

save (   $infile,
  $public_access,
  $id 
)

Definition at line 129 of file Class.VaultFile.php.

+ Here is the call graph for this function:

show (   $id_file,
$infos,
  $teng_lname = "" 
)
Parameters
int$id_filevault file identifier
vaultFileInfo$infosfile properties
string$teng_lnameengine name
Returns
string error message

Definition at line 69 of file Class.VaultFile.php.

store (   $infile,
  $public_access,
$id,
  $fsname = "",
  $te_name = "",
  $te_id_file = 0,
  $tmp = null 
)

Definition at line 108 of file Class.VaultFile.php.

updateAccessDate (   $id_file)

Set access date to now

Parameters
int$id_filevault file identifier
Returns
void

Definition at line 85 of file Class.VaultFile.php.

Field Documentation

$d_mode = 0700

Definition at line 28 of file Class.VaultFile.php.

$f_mode = 0600

Definition at line 27 of file Class.VaultFile.php.

$idf

Definition at line 26 of file Class.VaultFile.php.

$storage

Definition at line 35 of file Class.VaultFile.php.

$type = "fs"

Definition at line 29 of file Class.VaultFile.php.

const VAULT_DMODE = VAULT_DMODE

Definition at line 31 of file Class.VaultFile.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen