Public Member Functions | |
getRelations ($reltype="", $doctype="", $limit=0) | |
getIRelations ($reltype="", $doctype="", $limit=0) | |
resetRelations ($type="", $sinitid=0) | |
initRelations (&$doc, $force=false) | |
copyRelations (&$tv, &$doc, $reltype) | |
![]() | |
__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 | |
$sinitid | |
$cinitid | |
$title | |
$type | |
$id_fields | |
$dbtable = "docrel" | |
$ctitle | |
$cicon | |
$stitle | |
$sicon | |
$doctype | |
$sqlcreate | |
![]() | |
$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 | $savepoint = array() |
Definition at line 19 of file Class.DocRel.php.
copyRelations | ( | & | $tv, |
& | $doc, | ||
$reltype | |||
) |
copy in db document relations
array | &$tv | array of docid |
Doc | &$doc | document source |
Definition at line 166 of file Class.DocRel.php.
getIRelations | ( | $reltype = "" , |
|
$doctype = "" , |
|||
$limit = 0 |
|||
) |
Definition at line 91 of file Class.DocRel.php.
getRelations | ( | $reltype = "" , |
|
$doctype = "" , |
|||
$limit = 0 |
|||
) |
Definition at line 77 of file Class.DocRel.php.
initRelations | ( | & | $doc, |
$force = false |
|||
) |
Update document relations
Doc | &$doc | document to initialize relations |
bool | $force | if force recomputing |
Definition at line 122 of file Class.DocRel.php.
resetRelations | ( | $type = "" , |
|
$sinitid = 0 |
|||
) |
Delete document relations
string | $type | a special type of relation . Empty means all relations |
int | $sinitid | document identifier of relation (initid) |
Definition at line 108 of file Class.DocRel.php.
$cicon |
Definition at line 58 of file Class.DocRel.php.
$cinitid |
identifier of the cible document int
Definition at line 40 of file Class.DocRel.php.
$ctitle |
Definition at line 57 of file Class.DocRel.php.
$dbtable = "docrel" |
Definition at line 56 of file Class.DocRel.php.
$doctype |
Definition at line 61 of file Class.DocRel.php.
$fields |
Definition at line 21 of file Class.DocRel.php.
$id_fields |
Definition at line 52 of file Class.DocRel.php.
$sicon |
Definition at line 60 of file Class.DocRel.php.
$sinitid |
identifier of the source document int
Definition at line 35 of file Class.DocRel.php.
$sqlcreate |
Definition at line 63 of file Class.DocRel.php.
$stitle |
Definition at line 59 of file Class.DocRel.php.
$title |
title of the cible document int
Definition at line 45 of file Class.DocRel.php.
$type |
relation kind int
Definition at line 50 of file Class.DocRel.php.
← centre documentaire |
![]() ![]() |