![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
| Dataface_ImportFilter ($tablename, $name, $label) | |
| import (&$data, $defaultValues=array()) | |
Data Fields | |
| $_table | |
| $label | |
| $name | |
File: Dataface/ImportFilter.php Author: Steve Hannah <shannah@sfu.ca> Created: December 1, 2005
Description: ------------
Takes raw data and converts it to a set of Record objects. Makes use of the table delegate files for specific functionality.
Definition at line 36 of file ImportFilter.php.
| Dataface_ImportFilter | ( | $ | tablename, |
| $ | name, | ||
| $ | label | ||
| ) |
Constructor
| $tablename | Name of the table that this imports data into. |
| $name | The name of the filter. |
| $label | The label of the filter. |
Definition at line 61 of file ImportFilter.php.
| import | ( | &$ | data, |
| $ | defaultValues = array() |
||
| ) |
Imports data into the table. This works by calling the delegate function __import__<filtername> where you replace '<filtername>' with the name of this filter.
| $data | raw data The raw data that is being imported. |
Definition at line 74 of file ImportFilter.php.
| $_table |
Reference to table object. Dataface_Table
Definition at line 42 of file ImportFilter.php.
| $label |
Label for the filter.
Definition at line 47 of file ImportFilter.php.
| $name |
Name of the filter.
Definition at line 52 of file ImportFilter.php.
1.7.4