Jet\DataModel_RecordData
Class represents a set of data to be stored in the form in which the data is passed to the backend.
Overview of methods
| Method | Meaning of |
|---|---|
| public static createRecordData( string $data_model_class_name, array $properties_and_values ) : DataModel_RecordData |
The static method creates a set of data bound to a certain class (parameter $properties_and_values) from the data (parameter $properties_and_values) |
| public __construct( DataModel_Definition_Model $data_model_definition ) |
The single parameter represents the definition of the entity to which the dataset is bound. |
| public addItem( DataModel_Definition_Property $property_definition, mixed $value ) : void |
Adds an item to the set.
Parameters:
|
| public getDataModelDefinition( ) : DataModel_Definition_Model|null |
Returns the definition of the entity to which the dataset is bound. |
| public getIsEmpty( ) : bool |
Indicates whether the set is empty. |
| public current( ) : DataModel_RecordData_Item |
The class is an iterator - the definition can be traversed as an array. |
| public key( ) : string |
The class is an iterator - the definition can be traversed as an array. |
| public next( ) : DataModel_RecordData_Item|bool |
The class is an iterator - the definition can be traversed as an array. |
| public rewind( ) : void |
The class is an iterator - the definition can be traversed as an array. |
| public valid( ) : bool |
The class is an iterator - the definition can be traversed as an array. |
| public count( ) : int |
The class is an iterator - the definition can be traversed as an array. |