Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
FDL_external.php File Reference

Go to the source code of this file.

Namespaces

 FDL
 

Functions

 vault_filename ($th, $fileid)
 
 gettitle ($dbaccess, $docid)
 
 linkenum ($famid, $attrid)
 
 tplmail ($dbaccess, $type, $famid, $wfamid, $name)
 
 tpluser ($dbaccess, $type, $famid, $wfamid, $name)
 
 getGlobalsParameters ($name)
 
 getFamAttribute ($dbaccess, $famid, $type="text", $param=false, $name="")
 
 lfamilies ($dbaccess, $name= '', $subfam="")
 
 lfamily ($dbaccess, $famid, $name="", $dirid=0, $filter=array(), $idid="id", $withDiacritic=false)
 
 setDiacriticRules ($text)
 
 lfamilly ($dbaccess, $famid, $name="", $dirid=0, $filter=array(), $idid="id")
 
 lfamilyvalues ($dbaccess, $famid, $name="")
 
 lkfamily ($dbaccess, $famname, $aid, $kid, $name, $filter=array())
 
 fdlGetDocuments ($families, $filterName= '', $limit=15, $extraFilter= '')
 
 fdlGetAccounts ($filterName= '', $limit=15, $options= '')
 
 lenum ($val, $enum)
 
 fdlGetEnumValues ($famid, $attrid, $val= '')
 
 lenumvalues ($enum, $val="")
 
 lprofil ($dbaccess, $name, $famid=0)
 
 lmask ($dbaccess, $name, $maskfamid="")
 
 lcvdoc ($dbaccess, $name, $cvfamid="")
 
 lmailtemplatedoc ($dbaccess, $name, $cvfamid="")
 
 ltimerdoc ($dbaccess, $name, $cvfamid="")
 
 lsearches ($dbaccess, $name)
 
 ltabs ($dbaccess, $name)
 
 lzone_ ($dbaccess, $tview, $famid="")
 
 lzone ($dbaccess, $tview, $famid="")
 
 lview ($tidview, $tlview)
 
 getReportColumns ($dbaccess, $famid, $name="")
 
 getReportSortableColumns ($dbaccess, $famid, $name="")
 
 getDocAttr ($dbaccess, $famid, $name="")
 
 getSortAttr ($dbaccess, $famid, $name="", $sort=true)
 
 getSortProperties ($dbaccess, $famid, $name="")
 
 _getParentLabel ($oa)
 
 laction ($dbaccess, $famid, $name, $type)
 
 lapplications ($n="")
 
 lactions ($app, $n="")
 
 lapi ($name="")
 
 lstates ($dbaccess, $wid, $name="")
 
 ldocstates ($dbaccess, $docid, $name="")
 
 lmethods ($dbaccess, $famid, $name="")
 
 db_query ($dbaccess, $table, $filter)
 

Function Documentation

_getParentLabel (   $oa)
Parameters
NormalAttribute | FieldsetAttribute$oa
Returns
string

Definition at line 1151 of file FDL_external.php.

db_query (   $dbaccess,
  $table,
  $filter 
)

retrieve information from postgresql database

Parameters
string$dbaccessthe database coordonates
string$tablethe name of sql table where search data
string$filterthe sql where clause to filter
string$moredynamic others arg to define column to retrieve

Definition at line 1306 of file FDL_external.php.

fdlGetAccounts (   $filterName = '',
  $limit = 15,
  $options = '' 
)

return account list

Parameters
string$filterNamefilter key
int$limitmax result limit
string$optionsoption for role or group
Returns
array|string

Definition at line 581 of file FDL_external.php.

+ Here is the call graph for this function:

fdlGetDocuments (   $families,
  $filterName = '',
  $limit = 15,
  $extraFilter = '' 
)

return account documents

Parameters
string$filterNametitle filter key
int$limitmax account returned
Returns
array

Definition at line 546 of file FDL_external.php.

+ Here is the call graph for this function:

fdlGetEnumValues (   $famid,
  $attrid,
  $val = '' 
)

list of enum possibilities

Definition at line 703 of file FDL_external.php.

getDocAttr (   $dbaccess,
  $famid,
  $name = "" 
)

Definition at line 1049 of file FDL_external.php.

+ Here is the call graph for this function:

getFamAttribute (   $dbaccess,
  $famid,
  $type = "text",
  $param = false,
  $name = "" 
)

attribut list to be use in mail template

Definition at line 282 of file FDL_external.php.

+ Here is the call graph for this function:

getGlobalsParameters (   $name)

Definition at line 260 of file FDL_external.php.

getReportColumns (   $dbaccess,
  $famid,
  $name = "" 
)

Get columns (attribute ir property) that can be used to present of the report's result

Parameters
$dbaccess
$famid
string$name
Returns
array

Definition at line 941 of file FDL_external.php.

+ Here is the call graph for this function:

getReportSortableColumns (   $dbaccess,
  $famid,
  $name = "" 
)

Get columns (attribute or property) than can be used to order the report's result.

Parameters
$dbaccess
$famid
string$name
Returns
array

Definition at line 1021 of file FDL_external.php.

+ Here is the call graph for this function:

getSortAttr (   $dbaccess,
  $famid,
  $name = "",
  $sort = true 
)

Definition at line 1054 of file FDL_external.php.

+ Here is the call graph for this function:

getSortProperties (   $dbaccess,
  $famid,
  $name = "" 
)

Get sortable properties with their default sort order

Parameters
$dbaccess
$famid
string$namefilter to match the property's label
Returns
array

Definition at line 1092 of file FDL_external.php.

gettitle (   $dbaccess,
  $docid 
)

Functions used for edition help

Parameters
string$dbaccessdatabase specification
int$docididentifier document
Returns
array first item : the title

Definition at line 43 of file FDL_external.php.

+ Here is the call graph for this function:

laction (   $dbaccess,
  $famid,
  $name,
  $type 
)

Definition at line 1159 of file FDL_external.php.

+ Here is the call graph for this function:

lactions (   $app,
  $n = "" 
)

return list of what action for one application

Definition at line 1188 of file FDL_external.php.

lapi (   $name = "")

Definition at line 1215 of file FDL_external.php.

lapplications (   $n = "")

return list of what application

Definition at line 1168 of file FDL_external.php.

lcvdoc (   $dbaccess,
  $name,
  $cvfamid = "" 
)

Definition at line 815 of file FDL_external.php.

+ Here is the call graph for this function:

ldocstates (   $dbaccess,
  $docid,
  $name = "" 
)

Definition at line 1257 of file FDL_external.php.

lenum (   $val,
  $enum 
)

return list of string for multiple static choice

Parameters
string$valfilter value - can be empty => see all choices
string$enumpossible choices like 'the first|the second|the last'
Returns
array/string*2 array of (enum, enum)

Definition at line 678 of file FDL_external.php.

lenumvalues (   $enum,
  $val = "" 
)

return list of string for multiple static choice

Parameters
string$valfilter value - can be empty => see all choices
string$enumpossible choices like 'the first|the second|the last'
Deprecated:
replaced by fdlGetEnumValues
Returns
array/string*2 array of (enum, enum)

Definition at line 735 of file FDL_external.php.

+ Here is the call graph for this function:

lfamilies (   $dbaccess,
  $name = '',
  $subfam = "" 
)

Definition at line 310 of file FDL_external.php.

+ Here is the call graph for this function:

lfamilly (   $dbaccess,
  $famid,
  $name = "",
  $dirid = 0,
  $filter = array(),
  $idid = "id" 
)
Deprecated:
use lfamily instead
Parameters
$dbaccess
$famid
string$name
int$dirid
array$filter
string$idid
Returns
mixed

Definition at line 452 of file FDL_external.php.

+ Here is the call graph for this function:

lfamily (   $dbaccess,
  $famid,
  $name = "",
  $dirid = 0,
  $filter = array(),
  $idid = "id",
  $withDiacritic = false 
)

list of documents of a same family

Parameters
string$dbaccessdatabase specification
string$famidfamily identifier (if 0 any family). It can be internal name
string$namestring filter on the title
int$dirididentifier of folder for restriction to a folder tree (deprecated)
array$filteradditionnals SQL filters
string$ididthe document id to use (default: id)
bool$withDiacriticto search with accent
Returns
array/string*3 array of (title, identifier, title)

Definition at line 357 of file FDL_external.php.

+ Here is the call graph for this function:

lfamilyvalues (   $dbaccess,
  $famid,
  $name = "" 
)

list of documents of a same family and their specific attributes

Parameters
string$dbaccessdatabase specification
string$famidfamily identifier (if 0 any family). It can be internal name
string$namestring filter on the title
string$attridsargument variable of name of attribute to be returned
Returns
array/string*3 array of (title, identifier, attr1, attr2, ...)

Definition at line 465 of file FDL_external.php.

+ Here is the call graph for this function:

linkenum (   $famid,
  $attrid 
)

link enum definition from other def

Definition at line 59 of file FDL_external.php.

+ Here is the call graph for this function:

lkfamily (   $dbaccess,
  $famname,
  $aid,
  $kid,
  $name,
  $filter = array() 
)

list of documents of a same family and which are in the $kid category

Parameters
string$dbaccessdatabase specification
string$famnamefamily internal name
string$aidenum attribute identifier
string$kidenum key to search
string$namestring filter on the title
array$filteradditionnals SQL filters
Returns
array/string*3 array of (title, identifier, title)

Definition at line 516 of file FDL_external.php.

+ Here is the call graph for this function:

lmailtemplatedoc (   $dbaccess,
  $name,
  $cvfamid = "" 
)

Definition at line 826 of file FDL_external.php.

+ Here is the call graph for this function:

lmask (   $dbaccess,
  $name,
  $maskfamid = "" 
)

Definition at line 801 of file FDL_external.php.

+ Here is the call graph for this function:

lmethods (   $dbaccess,
  $famid,
  $name = "" 
)

Definition at line 1281 of file FDL_external.php.

+ Here is the call graph for this function:

lprofil (   $dbaccess,
  $name,
  $famid = 0 
)

Definition at line 784 of file FDL_external.php.

+ Here is the call graph for this function:

lsearches (   $dbaccess,
  $name 
)

search list not filters

Definition at line 850 of file FDL_external.php.

+ Here is the call graph for this function:

lstates (   $dbaccess,
  $wid,
  $name = "" 
)

Definition at line 1234 of file FDL_external.php.

+ Here is the call graph for this function:

ltabs (   $dbaccess,
  $name 
)

tab list not filters

Definition at line 861 of file FDL_external.php.

+ Here is the call graph for this function:

ltimerdoc (   $dbaccess,
  $name,
  $cvfamid = "" 
)

Definition at line 837 of file FDL_external.php.

+ Here is the call graph for this function:

lview (   $tidview,
  $tlview 
)

Definition at line 912 of file FDL_external.php.

lzone (   $dbaccess,
  $tview,
  $famid = "" 
)

Definition at line 897 of file FDL_external.php.

+ Here is the call graph for this function:

lzone_ (   $dbaccess,
  $tview,
  $famid = "" 
)

Definition at line 876 of file FDL_external.php.

+ Here is the call graph for this function:

setDiacriticRules (   $text)

create preg rule to search without diacritic

See Also
lfamily
Parameters
string$text
Returns
string rule for preg

Definition at line 423 of file FDL_external.php.

tplmail (   $dbaccess,
  $type,
  $famid,
  $wfamid,
  $name 
)

Definition at line 145 of file FDL_external.php.

+ Here is the call graph for this function:

tpluser (   $dbaccess,
  $type,
  $famid,
  $wfamid,
  $name 
)

Definition at line 244 of file FDL_external.php.

+ Here is the call graph for this function:

vault_filename (   $th,
  $fileid 
)

Definition at line 20 of file FDL_external.php.

+ Here is the call graph for this function:

← centre documentaire © anakeen