Class: I2CE Entry: Difference between revisions
(Created page with 'This article desrcibes the class '''I2CE_Entry''' It is contained in the module forms in the package [https://launchpad.net/i2ce I2CE] The class is de…') |
No edit summary |
||
Line 1: | Line 1: | ||
This article desrcibes the class '''I2CE_Entry''' | This article desrcibes the class '''I2CE_Entry''' | ||
It is contained in the module [[iHRIS Module List#forms|forms]] in the package [https://launchpad.net/i2ce I2CE] | It is contained in the module [[iHRIS Module List#forms|forms]] in the package [https://launchpad.net/i2ce I2CE] | ||
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:modules/Forms/lib/I2CE_Entry.php modules/Forms/lib/I2CE_Entry.php] | |||
The class is defined in the file: [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/files/head:/modules/Forms/lib/I2CE_Entry.php modules/Forms/lib/I2CE_Entry.php] | |||
@author Luke Duncan <lduncan@intrahealth.org> | @author Luke Duncan <lduncan@intrahealth.org> | ||
@since v2.0.0 | @since v2.0.0 | ||
@version v2.0.0 | @version v2.0.0 | ||
Class for representing an entry in the database. | Class for representing an entry in the database. | ||
Multiple entries may exist for any {@link I2CE_FormField} value to track all changes since the record was created. | Multiple entries may exist for any {@link I2CE_FormField} value to track all changes since the record was created. | ||
@package I2CE | @package I2CE | ||
@access public | @access public | ||
@see I2CE_FormField | @see I2CE_FormField | ||
==Variables== | ==Variables== |
Revision as of 21:20, 16 October 2009
This article desrcibes the class I2CE_Entry It is contained in the module forms in the package I2CE
The class is defined in the file: modules/Forms/lib/I2CE_Entry.php
@author Luke Duncan <lduncan@intrahealth.org>
@since v2.0.0
@version v2.0.0
Class for representing an entry in the database.
Multiple entries may exist for any {@link I2CE_FormField} value to track all changes since the record was created.
@package I2CE
@access public
@see I2CE_FormField
Variables
$date
The date this entry was added.
- Type: public I2CE_Date $date
$who
The user id of the person who made this entry.
- Type: public nteger $who
$change_type
The type of change for this entry.
- Type: public nteger $change_type
$value
The value for this entry.
- Type: public mixed $value
Methods
__construct()
Create a new instance of a I2CE_Entry.
This will usually be done by the {@link I2CE_FormField} object when it needs access to the history for this field.
- Signature: public function __construct($date,$who,$change_type,$value)
Parameters:
getValue()
Return the value of this entry
- Signature: public function getValue()
- Returns: mixed;