TIP_History
Introduction
History module
- Source file
- /Type/module/content/history.php
- Extends
- TIP_Content
Properties
master : TIP_Content
A reference to the master module
- access
- protected
origin_field : string
The field where the id of the first row version is stored
- access
- protected
next_field : string
The field where the id of the next row version is stored
- access
- protected
Methods
checkOptions (&$options)
- &$options
- lines
- 51 - 72
- static
- yes
- access
- protected
__construct ($options)
Constructor
- $options
- array
Properties values
- lines
- 81 - 84
- access
- protected
Initializes a TIP_History instance.
actionUpdate ($id, [$options]) : bool
Perform an update action
- $id
- mixed
The identifier of the row to update
- $options
- array [ = array() ]
Options to pass to the form() call
- lines
- 100 - 111
- access
- protected
Generates and executes a TIP_Form instance to update a new row, that is duplicating a row and adding history management so the new row will be a considered as a new version of the duplicated one.
actionDelete ($id, [$options]) : bool
Perform a delete action
- $id
- mixed
The identifier of the row to delete
- $options
- array [ = array() ]
Options to pass to the form() call
- lines
- 123 - 130
- access
- protected
Overrides the default delete action by calling the master delete action.
runUntrustedAction ($action)
- $action
- lines
- 132 - 143
- access
- protected
TIP_History
was last modified by
TiP
on
Mon 25 May 2009 06:22:25 PM CEST