Core  3.2
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

 FDL
 

Functions

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

Function Documentation

deleteFamilyParameter ( Action $action,
  $famid,
  $attrid 
)

delete family attribute for generic application

Definition at line 268 of file generic_util.php.

+ Here is the call graph for this function:

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

Definition at line 289 of file generic_util.php.

+ Here is the call graph for this function:

getDefFam ( Action $action)

Definition at line 19 of file generic_util.php.

+ Here is the call graph for this function:

getDefFld ( Action $action)

Definition at line 35 of file generic_util.php.

+ Here is the call graph for this function:

getDefU ( Action $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 123 of file generic_util.php.

+ Here is the call graph for this function:

getDefUKey ( Action $action)

Definition at line 68 of file generic_util.php.

+ Here is the call graph for this function:

getDefUSort ( Action $action,
  $def = "-revdate",
  $famid = "" 
)

Definition at line 48 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 identifier
string$keyparameter name return string the value of the parameter according to family

Definition at line 222 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 202 of file generic_util.php.

getInherit ( Action $action,
  $famid = "" 
)

return if search is also in inherit famileis

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

Definition at line 159 of file generic_util.php.

+ Here is the call graph for this function:

getSplitMode ( Action $action,
  $famid = "" 
)

return attribute split mode

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

Definition at line 132 of file generic_util.php.

+ Here is the call graph for this function:

getSqlFrom (   $dbaccess,
  $docid 
)

Definition at line 318 of file generic_util.php.

+ Here is the call graph for this function:

getTabLetter ( Action $action,
  $famid = "" 
)

return attribute view tab letters

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

Definition at line 150 of file generic_util.php.

+ Here is the call graph for this function:

getViewMode ( Action $action,
  $famid = "" 
)

return attribute view mode

Returns
string [abstract|column] according to family

Definition at line 141 of file generic_util.php.

+ Here is the call graph for this function:

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

set family attribute for generic application

Definition at line 244 of file generic_util.php.

+ Here is the call graph for this function:

setInherit ( $action,
  $famid,
  $inherit 
)

set attribute view tab letters

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

Definition at line 192 of file generic_util.php.

+ Here is the call graph for this function:

setSplitMode ( Action $action,
  $famid,
  $split 
)

set attribute split mode

Parameters
string$split[V|H]

Definition at line 168 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 184 of file generic_util.php.

+ Here is the call graph for this function:

setUkey ( Action $action,
  $famid,
  $key 
)

memorize search key for generic applications

Parameters
Action$actioncurrent action
int$famidfamily identifier
string$keykey to memorize
Returns
string

Definition at line 88 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 176 of file generic_util.php.

+ Here is the call graph for this function:

← centre documentaire © anakeen