Documentation

Form_Fill_Export_Controller
in package

Form_Fill_Export_Controller

Tags
subpackage

Form

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

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()

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>
Return values
self

        
On this page

Search results