Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
VaultDiskFs Class Reference
+ Inheritance diagram for VaultDiskFs:
+ Collaboration diagram for VaultDiskFs:

Public Member Functions

 __construct ($dbaccess, $id_fs= '')
 
 createArch ($maxsize, $path, $fsname="-")
 
 PreInsert ()
 
 Exists ($path)
 
 SetFreeFs ($f_size, &$id_fs, &$id_dir, &$f_path, $fsname)
 
 Show ($id_fs, $id_dir, &$f_path)
 
 AddEntry ($fs)
 
 DelEntry ($id_fs, $id_dir, $fs)
 
 Stats (&$s)
 
- Public Member Functions inherited from DbObj
 __construct ($dbaccess= '', $id= '', $res= '', $dbid=0)
 
 Select ($id)
 
 getValues ()
 
 AffectColumn ($fields)
 
 Affect ($array)
 
 isAffected ()
 
 Complete ()
 
 PreInsert ()
 
 PostInsert ()
 
 PreUpdate ()
 
 PostUpdate ()
 
 PreDelete ()
 
 PostDelete ()
 
 PreSelect ($id)
 
 PostSelect ($id)
 
 Add ($nopost=false, $nopre=false)
 
 Modify ($nopost=false, $sfields="", $nopre=false)
 
 Delete ($nopost=false)
 
 Adds (&$tcopy, $nopost=false)
 
 lw ($prop)
 
 CloseConnect ()
 
 Create ($nopost=false)
 
 PostInit ()
 
 init_dbid ()
 
 exec_query ($sql, $lvl=0, $prepare=false)
 
 numrows ()
 
 fetch_array ($c, $type=PGSQL_ASSOC)
 
 Update ()
 
 savePoint ($point)
 
 rollbackPoint ($point)
 
 commitPoint ($point)
 

Data Fields

 $fields
 
 $id_fields
 
 $dbtable_tmpl = "vaultdiskfs%s"
 
 $order_by = ""
 
 $seq_tmpl = "seq_id_vaultdiskfs%s"
 
 $sqlcreate_tmpl
 
- Data Fields inherited from DbObj
 $dbid = - 1
 
 $dbaccess = ''
 
 $fields
 
 $dbtable = ''
 
 $criterias = array()
 
 $sup_fields = array()
 
 $sup_where = array()
 
 $sup_tables = array()
 
 $fulltextfields = array()
 
 $order_by = ""
 
 $isset = false
 
 $msg_err = ''
 
 $err_code = ''
 
 $res = null
 
 $debug = false
 

Additional Inherited Members

- Static Public Attributes inherited from DbObj
static $savepoint = array()
 

Detailed Description

Definition at line 24 of file Class.VaultDiskFs.php.

Constructor & Destructor Documentation

__construct (   $dbaccess,
  $id_fs = '' 
)

Definition at line 56 of file Class.VaultDiskFs.php.

Member Function Documentation

AddEntry (   $fs)

Definition at line 162 of file Class.VaultDiskFs.php.

+ Here is the call graph for this function:

createArch (   $maxsize,
  $path,
  $fsname = "-" 
)

Definition at line 65 of file Class.VaultDiskFs.php.

+ Here is the call graph for this function:

DelEntry (   $id_fs,
  $id_dir,
  $fs 
)

Definition at line 169 of file Class.VaultDiskFs.php.

+ Here is the call graph for this function:

Exists (   $path)

Definition at line 92 of file Class.VaultDiskFs.php.

PreInsert ( )

Definition at line 82 of file Class.VaultDiskFs.php.

+ Here is the call graph for this function:

SetFreeFs (   $f_size,
$id_fs,
$id_dir,
$f_path,
  $fsname 
)

Definition at line 103 of file Class.VaultDiskFs.php.

+ Here is the call graph for this function:

Show (   $id_fs,
  $id_dir,
$f_path 
)

Definition at line 141 of file Class.VaultDiskFs.php.

Stats ( $s)

Definition at line 188 of file Class.VaultDiskFs.php.

Field Documentation

$dbtable_tmpl = "vaultdiskfs%s"

Definition at line 40 of file Class.VaultDiskFs.php.

$fields
Initial value:
= array(
"id_fs",
"fsname",
"max_size",
"free_size",
"subdir_cnt_bydir",
"subdir_deep",
"max_entries_by_dir",
"r_path"
)

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

$id_fields
Initial value:
= array(
"id_fs"
)

Definition at line 37 of file Class.VaultDiskFs.php.

$order_by = ""

Definition at line 41 of file Class.VaultDiskFs.php.

$seq_tmpl = "seq_id_vaultdiskfs%s"

Definition at line 42 of file Class.VaultDiskFs.php.

$sqlcreate_tmpl
Initial value:
= "
create table vaultdiskfs%s ( id_fs int not null,
fsname text,
primary key (id_fs),
max_size int8,
free_size int8,
subdir_cnt_bydir int,
subdir_deep int,
max_entries_by_dir int,
r_path varchar(2048)
);
create sequence seq_id_vaultdiskfs%s start 10;"

Definition at line 43 of file Class.VaultDiskFs.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase