Get Title from ids
Definition at line 11 of file Class.DocTitle.php.
| static getRelationTitle |
( |
|
$docid, |
|
|
|
$latest = true, |
|
|
Doc |
$doc, |
|
|
|
$docrevOption = "", |
|
|
array & |
$info = array() |
|
) |
| |
|
static |
return title of relation return false if access deny return null if relation not found
- Parameters
-
| int | $docid | relation documentg id |
| bool | $latest | true if it is latest |
| Doc | $doc | document where comes from relation |
| string | $docrevOption | docrev attribute option |
| array | $info | more information about document target (revision, initid) |
- Returns
- bool|null|string
Definition at line 26 of file Class.DocTitle.php.
| static getTitle |
( |
|
$docid, |
|
|
|
$latest = true, |
|
|
|
$docrevOption = "latest", |
|
|
array & |
$info = array() |
|
) |
| |
|
static |
Get title from database if not found in cache
- Parameters
-
| int | $docid | Document identifier |
| bool | $latest | |
| string | $docrevOption | |
| array | $info | |
- Returns
- bool|null
- Exceptions
-
Definition at line 179 of file Class.DocTitle.php.
| static setRelationCache |
( |
Doc |
$doc, |
|
|
|
$uid |
|
) |
| |
|
staticprotected |
get all title and access of document's relations
- Parameters
-
| Doc | $doc | |
| int | $uid | user identifier |
- Returns
- void
Definition at line 71 of file Class.DocTitle.php.
The documentation for this class was generated from the following file: