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