Properties

$id

$id : 

Type

$first_call

$first_call : 

Type

$fields_value

$fields_value : array

Type

array — values of form fields

$name_controller

$name_controller : 

Type

$title

$title : string

Type

string — if not null, a title will be added on that list

$submit_action

$submit_action : string

Type

string — Used to override default 'submitAdd' parameter in form action attribute

$token

$token : 

Type

$languages

$languages : 

Type

$default_form_language

$default_form_language : 

Type

$allow_employee_form_lang

$allow_employee_form_lang : 

Type

$show_cancel_button

$show_cancel_button : 

Type

$back_url

$back_url : 

Type

$fields_form

$fields_form : array

Type

array — of forms fields

Methods

__construct()

__construct() 

generateForm()

generateForm(  $fields_form) 

Parameters

$fields_form

generate()

generate() 

getFieldsRequired()

getFieldsRequired() 

Return true if there are required fields

renderAssoShop()

renderAssoShop(  $disable_shared = false,   $template_directory = null) : string

Render an area to determinate shop association

Parameters

$disable_shared
$template_directory

Returns

string