This is the default Record class for representing each member of a
result set. Records can have references to their parent or child records, can be edited or deleted, etc. You can also specify a different class to use for Records; that class should be a subclass of this base class, or encapsulate its functionality. In PHP5 this class would implement an interface that alternate classes would be required to implement as well.
Located in /FileMaker/Record.php (line 32)
Record constructor.
Save any changes to this record back to the server.
Delete this record from the server.
Get the value of $field.
Return the value of the specified field (and repetition) as a
unix timestamp. If the field is a date field, the timestamp is for the field date at midnight. It the field is a time field, the timestamp is for that time on January 1, 1970. Timestamp (date & time) fields map directly to the unix timestamp. If the specified field is not a date or time field, or if the timestamp generated would be out of range, then we return a FileMaker_Error object instead.
Return a list of the names of all fields in the record. Just
the names are returned; if additional information is required then the Layout object provided by the parent FileMaker_Response object's getLayout() method must be consulted.
Get the modification id of this object.
Get the record id of this object.
Get any objects in the related set (portal) $relatedSet.
Create a new record in the related set (portal) named by $relatedSet.
Set the value of $field.
Set the new value for a date, time, or timestamp field from a unix timestamp value. If the field is not a date or time field, then an error is returned. Otherwise returns true.
If we haven't already loaded layout data for the target of this command, calling this method will cause it to be loaded so that the type of the field can be checked.
Validates either a single field or the whole record against the
validation rules that are enforceable on the PHP side - type rules, ranges, four-digit dates, etc. Rules such as unique or existing, or validation by calculation field, cannot be pre-validated.
If the optional $fieldName argument is passed, only that field will be validated. Otherwise the record will be validated just as if commit() were called with prevalidation turned on in the API properties. validate() returns TRUE if validation passes, or a FileMaker_Error_Validation object containing details about what failed to validate.
Documentation generated on Thu, 06 Jul 2006 15:52:33 -0700 by phpDocumentor 1.2.3