Form_Fill_Export_Controller
in package
Form_Fill_Export_Controller
Tags
Table of Contents
Properties
- $_aForm_Field_Dir_Tree : array<string|int, mixed>
- $_aForm_Fields : array<string|int, mixed>
- $_aForm_Fields_List : array<string|int, mixed>
- $_aCurrentData : array<string|int, mixed>
- CSV data
- $_Form : Form_Model
- Form object
Methods
- __construct() : mixed
- Constructor.
- execute() : mixed
- Executes the business logic.
- _createFormFieldList() : self
- Create list of fields depends on the tree and sorting
- _prepareString() : string
- Prepare string
- _printRow() : self
- Print array
Properties
$_aForm_Field_Dir_Tree
protected
array<string|int, mixed>
$_aForm_Field_Dir_Tree
= array()
$_aForm_Fields
protected
array<string|int, mixed>
$_aForm_Fields
= array()
$_aForm_Fields_List
protected
array<string|int, mixed>
$_aForm_Fields_List
= array()
$_aCurrentData
CSV data
private
array<string|int, mixed>
$_aCurrentData
= array()
$_Form
Form object
private
Form_Model
$_Form
= \NULL
Methods
__construct()
Constructor.
public
__construct(object $oForm) : mixed
Parameters
- $oForm : object
-
Form_Model object
execute()
Executes the business logic.
public
execute() : mixed
_createFormFieldList()
Create list of fields depends on the tree and sorting
protected
_createFormFieldList(mixed $dir_id) : self
Parameters
- $dir_id : mixed
Return values
self_prepareString()
Prepare string
protected
_prepareString(string $string) : string
Parameters
- $string : string
Return values
string_printRow()
Print array
protected
_printRow(array<string|int, mixed> $aData) : self
Parameters
- $aData : array<string|int, mixed>