Public Method Details |
tk_autoform_init |
public void tk_autoform_init( object application &$this )
|
|
Initialise toolkit. Call this in your init() function.
|
Parameter |
|
object application |
&$this |
|
|
|
|
Returns |
void |
|
tk_autoform_create_widget |
public void tk_autoform_create_widget( object application &$this, string $source, string $field, [ integer $flags ] )
|
|
Create a widget from dbdepend description.
|
Parameter |
|
object application |
&$this |
|
|
|
|
|
string |
$source |
|
|
Source name. |
|
|
string |
$field |
|
|
Field name. |
|
|
integer |
$flags |
= >>0<< |
|
TK_AUTOFORM_LABELS or TK_AUTOFORM_NO_INPUT. |
|
Returns |
void |
|
tk_autoform_create_form |
public void tk_autoform_create_form( object application &$this, string $source )
|
|
Create form from dbdepend description.
|
Parameter |
|
object application |
&$this |
|
|
|
|
|
string |
$source |
|
|
Source name. |
|
Returns |
void |
|
tk_autoform_list_cursor |
public void tk_autoform_list_cursor( object application &$this, object cursor &$c, array $config )
|
|
List a result set initiated by get() before.
The configuration array contains arrays keyed by source name, that cancontain the entries 'argname', 'view', 'call', 'fields' and 'selection'.'fields' can contain an array of record field names that should bedisplayed. 'view' can contain the name of the event handler for links.'argname' takes the event argument name that takes the primary key of thelinked record (deprecated).
|
Parameter |
|
object application |
&$this |
|
|
|
|
|
|
|
array |
$config |
|
|
Configuration |
|
Returns |
void |
|