Class: I2CE Entry: Difference between revisions
From IHRIS Wiki
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
===$who=== | ===$who=== | ||
The user id of the person who made this entry. | The user id of the person who made this entry. | ||
*Type: public | *Type: public integer $who | ||
===$change_type=== | ===$change_type=== | ||
The type of change for this entry. | The type of change for this entry. | ||
*Type: public | *Type: public integer $change_type | ||
===$value=== | ===$value=== |
Revision as of 23:44, 16 October 2009
This article desrcibes the class I2CE_Entry.
- Location: Part of the module forms in the package I2CE
- Source: Defined in the file modules/Forms/lib/I2CE_Entry.php
- Author: Luke Duncan <lduncan@intrahealth.org>
- Since: v2.0.0
- See: I2CE_FormField
Class for representing an entry in the database. Multiple entries may exist for any value to track all changes since the record was created.
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 integer $who
$change_type
The type of change for this entry.
- Type: public integer $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 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;