|
|
(15 intermediate revisions by one other user not shown) |
Line 1: |
Line 1: |
| This article describes the class ''I2CE_Entry''.
| | #REDIRECT [[Class: I2CE_Entry (4.1.12)]] |
| *Location: Part of the module [[I2CE Module List#forms|forms]] in the package [https://launchpad.net/i2ce I2CE]
| |
| *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0.0-release/annotate/head:/modules/Forms/lib/I2CE_Entry.php modules/Forms/lib/I2CE_Entry.php]
| |
| *Author: Luke Duncan <lduncan@intrahealth.org>
| |
| *Since: v2.0.0
| |
| *See: [[Class: I2CE_FormField | I2CE_FormField]]
| |
| Class for representing an entry in the database. Multiple entries may exist for any [[Class: I2CE_FormField | ]] value to track all changes since the record was created.
| |
| ==Variables==
| |
| ===$date===
| |
| The date this entry was added.
| |
| *Type: public [[Class: I2CE_Date | 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 [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $value
| |
| | |
| ==Methods==
| |
| ===__construct()===
| |
| Create a new instance of a I2CE_Entry. This will usually be done by the [[Class: I2CE_FormField | ]] object when it needs access to the history for this field.
| |
| *Signature: public function __construct($date,$who,$change_type,$value)
| |
| *Parameters:
| |
| ** [[Class: I2CE_Date | I2CE_Date]] $date
| |
| ** integer $who
| |
| ** integer $change_type
| |
| ** [http://www.php.net/manual/en/language.pseudo-types.php mixed ] $value
| |
| ===getValue()===
| |
| Return the value of this entry
| |
| *Signature: public function getValue()
| |
| *Returns: mixed;
| |
| | |
| | |
| [[Category:Class Documentation]]
| |