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

Public Member Functions

 getDocIds ($vid)
 
 getDocId ($vid)
 
 getVaultIds ($docid)
 
 DeleteDoc ($docid)
 
 DeleteVaultId ($vid)
 
- 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 = "docvaultindex"
 
 $order_by = "docid"
 
 $docid
 
 $vaultid
 
 $sqlcreate
 
- 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
 

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 21 of file Class.DocVaultIndex.php.

Member Function Documentation

DeleteDoc (   $docid)

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

+ Here is the call graph for this function:

DeleteVaultId (   $vid)

Definition at line 99 of file Class.DocVaultIndex.php.

+ Here is the call graph for this function:

getDocId (   $vid)

return first doc id from a vault file

Parameters
int$vidvault id
Returns
int id of document

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

getDocIds (   $vid)

return doc ids from a vault file

Parameters
int$vidvault id
Returns
array object

Definition at line 49 of file Class.DocVaultIndex.php.

getVaultIds (   $docid)

return vault ids for a document

Parameters
int$dociddocument id
Returns
array

Definition at line 78 of file Class.DocVaultIndex.php.

Field Documentation

$dbtable = "docvaultindex"

Definition at line 33 of file Class.DocVaultIndex.php.

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

$fields
Initial value:
= array(
"docid",
"vaultid"
)

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

$id_fields
Initial value:
= array(
"docid",
"vaultid"
)

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

$order_by = "docid"

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

$sqlcreate
Initial value:
= "
create table docvaultindex ( docid int not null,
vaultid bigint not null
);
create index idx_docvid on docvaultindex(vaultid);
create unique index idx_docvaultindex on docvaultindex (docid, vaultid);"

Definition at line 38 of file Class.DocVaultIndex.php.

$vaultid

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


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