![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
Dataface_ImportRecord ($classpath, $data) | |
toArray () | |
load ($data) | |
getValues () | |
setValue ($key, $value) | |
getValue ($key) | |
val ($key) | |
commit () | |
getClassPath () | |
Data Fields | |
$classpath = null | |
$values = array() |
A base class for an import record. More complex import filters may return arrays of ImportRecord objects instead of Dataface_Record objects. This allows them to define exactly how the record is committed to the database.
Definition at line 11 of file ImportRecord.php.
commit | ( | ) |
Abstract method. Commits this import data to the database.
Definition at line 95 of file ImportRecord.php.
Dataface_ImportRecord | ( | $ | classpath, |
$ | data | ||
) |
Definition at line 40 of file ImportRecord.php.
getClassPath | ( | ) |
Definition at line 99 of file ImportRecord.php.
getValue | ( | $ | key | ) |
Returns a value from this import record.
Definition at line 86 of file ImportRecord.php.
getValues | ( | ) |
Definition at line 71 of file ImportRecord.php.
load | ( | $ | data | ) |
Loads the record from an associative array.
Definition at line 63 of file ImportRecord.php.
setValue | ( | $ | key, |
$ | value | ||
) |
Definition at line 78 of file ImportRecord.php.
toArray | ( | ) |
Exports the data from this record to an associative array so that it can be serialized.
Definition at line 50 of file ImportRecord.php.
val | ( | $ | key | ) |
Definition at line 89 of file ImportRecord.php.
$classpath = null |
Definition at line 18 of file ImportRecord.php.
$values = array() |
Definition at line 24 of file ImportRecord.php.