Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
Public Member Functions | Data Fields
Dataface_ImportFilter Class Reference
Inheritance diagram for Dataface_ImportFilter:
Dataface_ImportFilter_xml

Public Member Functions

 Dataface_ImportFilter ($tablename, $name, $label)
 import (&$data, $defaultValues=array())

Data Fields

 $_table
 $label
 $name

Detailed Description

File: Dataface/ImportFilter.php Author: Steve Hannah shann.nosp@m.ah@s.nosp@m.fu.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.

Member Function Documentation

Dataface_ImportFilter (   $tablename,
  $name,
  $label 
)

Constructor

Parameters
$tablenameName of the table that this imports data into.
$nameThe name of the filter.
$labelThe 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.

Parameters
$dataraw data The raw data that is being imported.

Definition at line 74 of file ImportFilter.php.

Field Documentation

$_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.


The documentation for this class was generated from the following file: