Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

/home/mitarbeiter/sven/public_html/tmp/devcon_php_base/admin_panel/records.php::record

Standard event handler for context cursor manipulation.

 

public module record

Standard event handler for context cursor manipulation.

 

Public Method Summary

void

record_create_set(object application &$this, array &$set)

Create record listed in $sources with optional field values or alieases.
void

record_create(object application &$this)

Event handler: Create a new row in table.
void

record_update(object application &$this)

Calls form_update() and outputs a success or error message.
void

record_delete(object application &$this)

Event handler: Ask to delete records.
void

record_delete_force(object application &$this)

Event handler: Delete records.

Private Method Summary

void

_records_init(object application &$this)

Initialise this module.
void

_record_create_continue(object application &$this, array $keys)

Create records, print messagebox and jump to next view.

Public Method Details

record_create_set

public void record_create_set( object application &$this, array &$set )

  Create record listed in $sources with optional field values or alieases.

Parameter
object application &$this
array &$set
Source set which describes the records to be created.
Returns void


record_create

public void record_create( object application &$this )

  Event handler: Create a new row in table.
Optional event argument 'sources' takes a source set, otherwise thecontext cursor is used and field values can be specified inarray 'preset_values. 'msg' takes a message to print if the recordwas created.

Parameter
object application &$this
Returns void

See Also record_create_set()

record_update

public void record_update( object application &$this )

  Calls form_update() and outputs a success or error message.
Non-existing primary keys will be ignored.

Parameter
object application &$this
Returns void


record_delete

public void record_delete( object application &$this )

  Event handler: Ask to delete records.
This handler asks to kill records and then triggers record_delete_force().Event argument '_cursor' can contain the context cursor, an array ofcursors can be passed in 'cursor_list' instead. 'yes_view' can containan event that is triggered if record were deleted, 'no_view' can containone for the opposite case (the deletion failed).

Parameter
object application &$this
Returns void

See Also record_delete_force()

record_delete_force

public void record_delete_force( object application &$this )

  Event handler: Delete records.
Event argument '_cursor' can contain the context cursor, an array ofcursors can be passed in 'cursor_list' instead.

Parameter
object application &$this
Returns void


Private Method Details

_records_init

private void _records_init( object application &$this )

  Initialise this module.

Parameter
object application &$this
Returns void


_record_create_continue

private void _record_create_continue( object application &$this, array $keys )

  Create records, print messagebox and jump to next view.

Parameter
object application &$this
array $keys
created by record_create_set().
Returns void

See Also record_create_set()


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta