The DataContainer Interface defines the required methods for any DataContainer class or child.
Located in /harmoni/core/utilities/DataContainer.interface.php (line 13)
Class | Description |
---|---|
DataContainer | The DataContainer class encapsulates a FieldSet, and a RuleSet and sets up field-setting restrictions. |
The add method adds a new field with associated rule and optional error if validation fails.
Goes through all the keys and makes sure they comply to the rules specified for them.
The get method returns the value stored in the FieldSet for $field.
The init function -- sets up the private variables.
The set method sets the value for a field while checking constrictions.
Documentation generated on Wed, 19 Sep 2007 10:22:29 -0400 by phpDocumentor 1.3.0RC3