makl_utils_tab Namespace Reference

Module "makl_utils_tab". More...


Functions

 makl_tab_find ()
 Find an identifier.
 makl_tab_set ()
 Set the value of an element corresponding to an identifier.
 makl_tab_set_row ()
 Set row to given arguments.
 makl_tab_get ()
 Get a column value given an identifier.
 makl_tab_elem ()
 Output an element at an index of a row.
 makl_tab_var ()
 Get variable by name given a list of variables.


Function Documentation

makl_utils_tab::makl_tab_elem (  ) 

Output element at index $2 of row $1.

Parameters:
$1 string of elements
$2 index of element

Definition at line 148 of file makl_utils_tab.dokl.

makl_utils_tab::makl_tab_find (  ) 

Check whether id $2 exists in table $1.

Parameters:
$1 table file
$2 id to be searched for
Returns:
0 if found, 1 otherwise.

Definition at line 16 of file makl_utils_tab.dokl.

Referenced by makl_tab_set_row().

makl_utils_tab::makl_tab_get (  ) 

Get column $3 of element with id $2 in file $1.

Parameters:
$1 table file
$2 identifier to be retrieved
$3 target column
Returns:
0 if the element was found, 1 otherwise.

Definition at line 126 of file makl_utils_tab.dokl.

makl_utils_tab::makl_tab_set (  ) 

Set variable entry in table $1 with id $2 and at column $3 to val $4.

Parameters:
$1 table file
$2 id (row)
$3 column
$@ value

Definition at line 36 of file makl_utils_tab.dokl.

makl_utils_tab::makl_tab_set_row (  ) 

Set row of table $1 to given arguments $@.

Parameters:
$1 table file
$@ row values

Definition at line 89 of file makl_utils_tab.dokl.

References makl_tab_find().

makl_utils_tab::makl_tab_var (  ) 

Get variable by name $2 given a list of variables $1. A semicolon is used as a list separator.

Parameters:
$1 input string
$2 required var
Returns:
0 if the variable was found, 1 otherwise.

Definition at line 163 of file makl_utils_tab.dokl.


←Products
© 2005-2008 - KoanLogic S.r.l. - All rights reserved