Core  3.2
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="-")
 
 isAvailable ()
 
 PreInsert ()
 
 Exists ($path)
 
 SetFreeFs ($f_size, &$id_fs, &$id_dir, &$f_path, $fsname)
 
 closeCurrentDir ()
 
 findFreeFS ($size, $specificFs="")
 
 getSize ()
 
 recomputeDirectorySize ()
 
 Show ($id_fs, $id_dir, &$f_path)
 
 DelEntry ($id_fs, $id_dir, $fs)
 
- Public Member Functions inherited from DbObj
 __construct ($dbaccess= '', $id= '', $res= '', $dbid=0)
 
 Select ($id)
 
 getValues ()
 
 affectColumn ($fields, $reset=true)
 
 affect ($array, $more=false, $reset=true)
 
 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 ()
 
 setError ($moreerr= '')
 
 autoUpdate ()
 
 savePoint ($point)
 
 lockPoint ($exclusiveLock, $exclusiveLockPrefix= '')
 
 setMasterLock ($useLock)
 
 rollbackPoint ($point)
 
 commitPoint ($point)
 

Data Fields

 $fields
 
 $id_fields
 
 $dbtable_tmpl = "vaultdiskfs%s"
 
 $order_by = ""
 
 $seq_tmpl = "seq_id_vaultdiskfs%s"
 
 $sqlcreate_tmpl
 
create sequence
seq_id_vaultdiskfs s 
start
 
 EOF
 
 $id_fs
 
 $fsname
 
 $max_size
 
 $r_path
 
 $specific
 
- Data Fields inherited from DbObj
 $dbid = - 1
 
 $dbaccess = ''
 
 $fields
 
 $dbtable = ''
 
 $id_fields
 
 $criterias = array()
 
 $sup_fields = array()
 
 $sup_where = array()
 
 $sup_tables = array()
 
 $fulltextfields = array()
 
 $order_by = ""
 
 $isset = false
 
 $msg_err = ''
 
 $err_code = ''
 
 $res = ''
 
 $debug = false
 
 $sqlcreate
 
 $sqlinit
 
 $log
 

Protected Attributes

 $seq
 
 $sd
 

Additional Inherited Members

- Static Public Attributes inherited from DbObj
static $savepoint = array()
 
static $lockpoint = array()
 
static $sqlStrict = null
 
- Protected Member Functions inherited from DbObj
 tryCreate ()
 

Detailed Description

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

Constructor & Destructor Documentation

__construct (   $dbaccess,
  $id_fs = '' 
)

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

Member Function Documentation

closeCurrentDir ( )

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

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

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

+ Here is the call graph for this function:

DelEntry (   $id_fs,
  $id_dir,
  $fs 
)

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

+ Here is the call graph for this function:

Exists (   $path)

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

findFreeFS (   $size,
  $specificFs = "" 
)

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

+ Here is the call graph for this function:

getSize ( )

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

+ Here is the call graph for this function:

isAvailable ( )

verify if fs is availlable (file system is mounted)

Returns
bool

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

+ Here is the call graph for this function:

PreInsert ( )

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

+ Here is the call graph for this function:

recomputeDirectorySize ( )

Definition at line 250 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 124 of file Class.VaultDiskFs.php.

+ Here is the call graph for this function:

Show (   $id_fs,
  $id_dir,
$f_path 
)

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

Field Documentation

$dbtable_tmpl = "vaultdiskfs%s"

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

$fields
Initial value:
= array(
"id_fs",
"fsname",
"max_size",
"r_path"
)

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

$fsname

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

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

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

$id_fs

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

$max_size

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

$order_by = ""

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

$r_path

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

$sd
protected

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

$seq
protected

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

$seq_tmpl = "seq_id_vaultdiskfs%s"

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

$specific

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

$sqlcreate_tmpl
Initial value:
= <<<EOF
create table vaultdiskfs%s (
id_fs int not null,
fsname text,
primary key (id_fs),
max_size int8,
r_path text
)

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

EOF

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

create sequence seq_id_vaultdiskfs s start

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


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