Class: I2CE Entry (4.0.4)
From IHRIS Wiki
For other versions, see Class: I2CE_Entry (versions) .
This article describes the class I2CE_Entry .
- Location: Part of the module forms in the package I2CE 4.0.4-release
- Source: Defined in the file modules/Forms/lib/I2CE_Entry.php on line 33
- 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.
- Defined in i2ce/modules/Forms/lib/I2CE_Entry.php on line 38
- Type: public I2CE_Date $date
$who
The user id of the person who made this entry.
- Defined in i2ce/modules/Forms/lib/I2CE_Entry.php on line 42
- Type: public integer $who
$change_type
The type of change for this entry.
- Defined in i2ce/modules/Forms/lib/I2CE_Entry.php on line 46
- Type: public integer $change_type
$value
The value for this entry.
- Defined in i2ce/modules/Forms/lib/I2CE_Entry.php on line 50
- 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.
- Defined in i2ce/modules/Forms/lib/I2CE_Entry.php on line 61
- Signature: public function __construct($date,$who,$change_type,$value)
- Parameters:
getValue()
Return the value of this entry
- Defined in i2ce/modules/Forms/lib/I2CE_Entry.php on line 72
- Signature: public function getValue()
- Returns: mixed;