Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
generic_util.php File Reference

Go to the source code of this file.

Namespaces

namespace  FDL
 

Functions

 getDefFam (&$action)
 
 getDefFld (&$action)
 
 getDefUSort (&$action, $def="title", $famid="")
 
 getDefUKey (&$action)
 
 setUkey (&$action, $famid, $key)
 
 getDefU (&$action, $key)
 
 getSplitMode (&$action, $famid="")
 
 getViewMode (&$action, $famid="")
 
 getTabLetter (&$action, $famid="")
 
 getInherit (&$action, $famid="")
 
 getSearchMode (&$action, $famid="")
 
 setSplitMode (&$action, $famid, $split)
 
 setViewMode (&$action, $famid, $view)
 
 setTabLetter (&$action, $famid, $letter)
 
 setInherit (&$action, $famid, $inherit)
 
 setSearchMode (&$action, $famid, $mode)
 
 getFamilyParameters (&$action, $key)
 
 getFamilyParameter (&$action, $famid, $key, $def="")
 
 setFamilyParameter (&$action, $famid, $attrid, $value)
 
 deleteFamilyParameter (&$action, $famid, $attrid)
 
 getChildCatg ($docid, $level, $notfldsearch=false, $maxlevel=2)
 
 getSqlFrom ($dbaccess, $docid)
 

Function Documentation

deleteFamilyParameter ( $action,
  $famid,
  $attrid 
)

delete family attribute for generic application

Definition at line 279 of file generic_util.php.

getChildCatg (   $docid,
  $level,
  $notfldsearch = false,
  $maxlevel = 2 
)

Definition at line 299 of file generic_util.php.

+ Here is the call graph for this function:

getDefFam ( $action)

Definition at line 21 of file generic_util.php.

+ Here is the call graph for this function:

getDefFld ( $action)

Definition at line 37 of file generic_util.php.

+ Here is the call graph for this function:

getDefU ( $action,
  $key 
)

return parameters key search

Parameters
action$actioncurrent action
string$keyparameter name return string the value of the parameter according to default family

Definition at line 121 of file generic_util.php.

+ Here is the call graph for this function:

getDefUKey ( $action)

Definition at line 67 of file generic_util.php.

+ Here is the call graph for this function:

getDefUSort ( $action,
  $def = "title",
  $famid = "" 
)

Definition at line 47 of file generic_util.php.

+ Here is the call graph for this function:

getFamilyParameter ( $action,
  $famid,
  $key,
  $def = "" 
)

return parameters key search

Parameters
action$actioncurrent action
int$famidfamily identificator
string$keyparameter name return string the value of the parameter according to family

Definition at line 237 of file generic_util.php.

+ Here is the call graph for this function:

getFamilyParameters ( $action,
  $key 
)

return parameters key search for all familly

Parameters
action$actioncurrent action
string$keyparameter name return array all values indexed by family id

Definition at line 217 of file generic_util.php.

getInherit ( $action,
  $famid = "" 
)

return if search is also in inherit famileis

Returns
string [Y|N] Yes/No according to family

Definition at line 157 of file generic_util.php.

+ Here is the call graph for this function:

getSearchMode ( $action,
  $famid = "" 
)

return if search is also in inherit famileis

Returns
string [Y|N] Yes/No according to family

Definition at line 166 of file generic_util.php.

+ Here is the call graph for this function:

getSplitMode ( $action,
  $famid = "" 
)

return attribute split mode

Returns
string [V|H] vertical or horizontal split according to family

Definition at line 130 of file generic_util.php.

+ Here is the call graph for this function:

getSqlFrom (   $dbaccess,
  $docid 
)

Definition at line 328 of file generic_util.php.

+ Here is the call graph for this function:

getTabLetter ( $action,
  $famid = "" 
)

return attribute view tab letters

Returns
string [Y|N] Yes/No according to family

Definition at line 148 of file generic_util.php.

+ Here is the call graph for this function:

getViewMode ( $action,
  $famid = "" 
)

return attribute view mode

Returns
string [abstract|column] according to family

Definition at line 139 of file generic_util.php.

+ Here is the call graph for this function:

setFamilyParameter ( $action,
  $famid,
  $attrid,
  $value 
)

set family attribute for generic application

Definition at line 257 of file generic_util.php.

setInherit ( $action,
  $famid,
  $inherit 
)

set attribute view tab letters

Parameters
string$inherit[Y|N] Yes/No

Definition at line 199 of file generic_util.php.

+ Here is the call graph for this function:

setSearchMode ( $action,
  $famid,
  $mode 
)

set attribute search mode

Parameters
string$split[REGEXP|FULL]

Definition at line 207 of file generic_util.php.

+ Here is the call graph for this function:

setSplitMode ( $action,
  $famid,
  $split 
)

set attribute split mode

Parameters
string$split[V|H]

Definition at line 175 of file generic_util.php.

+ Here is the call graph for this function:

setTabLetter ( $action,
  $famid,
  $letter 
)

set attribute view tab letters

Parameters
string$letter[Y|N] Yes/No

Definition at line 191 of file generic_util.php.

+ Here is the call graph for this function:

setUkey ( $action,
  $famid,
  $key 
)

memorize search key for generic applications

Parameters
Action$actioncurrent action
intfmily identificator
string$keykey to memorize

Definition at line 86 of file generic_util.php.

+ Here is the call graph for this function:

setViewMode ( $action,
  $famid,
  $view 
)

set attribute view mode

Parameters
string$view[abstract|column]

Definition at line 183 of file generic_util.php.

+ Here is the call graph for this function:

← centre documentaire © anakeen - published under CC License - Dynacase