Class cContentTypePifaForm
Content type CMS_PIFAFORM which lets the editor configure a PIFA form to be displayed in frontend.
This content type offers several choices:
- select a form of those created in the PIFA backend for the current client
- select a module class located in plugins/form_assistant/extensions
- select a processor class located in plugins/form_assistant/extensions
- DOCME several client & system mail settings
- cContentTypeAbstract
- cContentTypeAbstractTabbed
- cContentTypePifaForm
Copyright: four for business AG
Author: marcus.gnass
Located at plugins/form_assistant/classes/class.content.type.pifa_form.php
public static
number
|
#
sortByLabel( array $a, array $b )
Callback function that is capable of sorting items that are arrays by comparing their value for the key 'label'. |
public
|
#
__construct( string $rawSettings, integer $id, array $contentTypes )
Initialize class attributes and handles store events. |
public
string
|
|
private
string
|
|
private
|
#
_getSelectForm( )
Builds a select element allowing to choose a single form that was created for the current client. |
private
|
#
_getSelectModule( )
Builds a select element allowing to choose a single module that handles the chosen form. |
private
|
#
_getSelectProcessor( )
Builds a select element allowing to choose a single class that postprocesses the sent data. |
private
|
#
_getSelectTemplateGet( )
Builds a select element allowing to choose a single template to respond a GET request. |
private
|
#
_getSelectTemplatePost( )
Builds a select element allowing to choose a single template to respond a POST request. |
private
|
#
_getSelectMailClientTemplate( )
Builds a select element allowing to choose a single template for the client mail. |
private
|
#
_getInputMailClientFromEmail( )
Builds an input element allowing to set the client mail sender address. |
private
|
#
_getInputMailClientFromName( )
Builds an input element allowing to set the client mail sender name. |
private
|
|
private
|
#
_getSelectMailSystemTemplate( )
Builds a select element allowing to choose a single template the system mail. |
private
|
#
_getInputMailSystemFromEmail( )
Builds an input element allowing to set the system mail sender address. |
private
|
#
_getInputMailSystemFromName( )
Builds an input element allowing to set the system mail sender name. |
private
|
#
_getInputMailSystemRecipientEmail( )
Builds an input element allowing to set the system mail recipient address. |
private
|
|
public
string
|
#
generateViewCode( )
Generates the code which should be shown if this content type is shown in the frontend. This code is cached. Thatfor ist no more than the initialisation of this class and the call of its method buildCode(). Otherwise the generated HTML would have been cached. |
public
string
|
_generateActionCode(),
_generateTabMenuCode(),
_getRawSettings()
|
SETTINGS_TYPE_PLAINTEXT,
SETTINGS_TYPE_XML
|
$_cfg,
$_cfgClient,
$_client,
$_contentTypes,
$_formFields,
$_id,
$_idArt,
$_idArtLang,
$_idCat,
$_lang,
$_prefix,
$_rawSettings,
$_session,
$_settings,
$_settingsType,
$_type,
$_uploadPath,
$_useXHTML
|