Class PifaForm
contains meta data of PIFA forms
- cGenericDb
- cItemBaseAbstract
- Item
- PifaForm
Copyright: four for business AG
Author: marcus.gnass
Located at plugins/form_assistant/classes/class.pifa.form.php
public
|
|
public
array
|
|
public
|
|
public
array:PifaField
|
|
public
mixed
|
|
public
|
|
public
array
|
|
public
|
|
public
array:mixed
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
array
|
|
public
|
#
getDataAsCsv( string $optionally = 'OPTIONALLY' )
Echoes a CSV file containing all of this forms stored data. Thatfor proper headers are sent, that add the created file as attachment for easier download. |
private
|
|
private
|
|
public
|
#
getCsv( boolean $oneRowPerField = false, array $additionalFields = NULL )
This method returns the current data as CSV file. This file usually contains two rows, one header and one value line. If $oneRowPerField is set to true the CSV-file is mirrored so that each line contains the fields header and then its value. An assoc array of $additionalFields can be given which will be appended th the current values of this form. |
public
|
|
public
|
|
public
|
#
alterTable( string $oldTableName, boolean $oldWithTimestamp )
Alter data table. Renames data table if name has changed and adds or drops column for timestamp if setting has changed. |
public
|
|
public
|
#
changeColumn( string $columnName, string $dataType, string $oldColumnName )
rename column if name has changed |
public
|
#
dropColumn( string $columnName )
Adds a column for the current field to the table of the current form. |
public
|
|
protected
boolean
|
|
public
|
|
public
|
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
escape()
|
_executeCallbacks(),
register(),
unregister()
|
CREATE_BEFORE,
CREATE_FAILURE,
CREATE_SUCCESS,
DELETE_BEFORE,
DELETE_FAILURE,
DELETE_SUCCESS,
STORE_BEFORE,
STORE_FAILURE,
STORE_SUCCESS
|
private
array
|
$_fields | NULL |
#
aggregated collection of this form fields |
private
array
|
$_errors | array() |
#
array of errors with field names as keys and error messages as values |
private
integer
|
$_lastInsertedId | NULL |
#
lastInsertedId |
$_arrInFilters,
$_arrOutFilters,
$_lastSQL,
$_metaObject,
$modifiedValues,
$oldPrimaryKey,
$values
|
$_className,
$_oCache,
$_settings,
$db,
$lasterror,
$primaryKey,
$properties,
$secondDb,
$table,
$virgin
|