Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/mitarbeiter/sven/public_html/tmp/devcon_php_base/admin_panel/tk/autoform/autoform.php
dev/con php base - User interface toolkits

/home/mitarbeiter/sven/public_html/tmp/devcon_php_base/admin_panel/tk/autoform/autoform.php::tk_autoform

Generic editor for records in a single table.

 

public module tk_autoform

Generic editor for records in a single table.
Needs $this->db->dep; (dbi/autoform.class instance)

 

Public Method Summary

void

tk_autoform_init(object application &$this)

Initialise toolkit. Call this in your init() function.
void

tk_autoform_create_widget(object application &$this, string $source, string $field, [ integer $flags ])

Create a widget from dbdepend description.
void

tk_autoform_create_form(object application &$this, string $source)

Create form from dbdepend description.
void

tk_autoform_list_cursor(object application &$this, object cursor &$c, array $config)

List a result set initiated by get() before.

Private Method Summary

void

_tk_autoform_create_widget( &$this, &$type, $field, $flags)

Warning: documentation is missing.

Private Constant Summary

TK_AUTOFORM_LABELS >>1<< Warning: documentation is missing.
TK_AUTOFORM_NO_INPUT >>2<< Warning: documentation is missing.

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
object cursor &$c
array $config
Configuration
Returns void


Private Method Details

_tk_autoform_create_widget

private void _tk_autoform_create_widget( &$this, &$type, $field, $flags )

 

Warning: documentation is missing.

Parameter
&$this
Warning: documentation is missing.
&$type
Warning: documentation is missing.
$field
Warning: documentation is missing.
$flags
Warning: documentation is missing.
Returns void


Private Constant Details

TK_AUTOFORM_LABELS

define( TK_AUTOFORM_LABELS, >>1<< )
Case: default: case sensitive



TK_AUTOFORM_NO_INPUT

define( TK_AUTOFORM_NO_INPUT, >>2<< )
Case: default: case sensitive




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta