Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cContentTypePifaForm
  • DefaultFormModule
  • DefaultFormProcessor
  • ExampleOptionsDatasource
  • MailedFormProcessor
  • Pifa
  • PifaAbstractFormModule
  • PifaAbstractFormProcessor
  • PifaAjaxHandler
  • PifaExporter
  • PifaExternalOptionsDatasourceInterface
  • PifaField
  • PifaFieldCollection
  • PifaForm
  • PifaFormCollection
  • PifaImporter
  • PifaLeftBottomPage
  • PifaRightBottomFormDataPage
  • PifaRightBottomFormExportPage
  • PifaRightBottomFormFieldsPage
  • PifaRightBottomFormImportPage
  • PifaRightBottomFormPage
  • SolrRightBottomPage

Interfaces

  • PifaDatabaseException
  • PifaException
  • PifaIllegalStateException
  • PifaMailException
  • PifaNotImplementedException
  • PifaNotYetStoredException
  • PifaValidationException
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class PifaAjaxHandler

Class for area "form_ajax" handling all Ajax requests for the PIFA backend.

Package: Plugin\FormAssistant
Copyright: four for business AG
Author: marcus.gnass
Located at plugins/form_assistant/classes/class.pifa.ajax_handler.php
Methods summary
public
# dispatch( $action )

Throws

PifaException
if action is unknown
private
# _getFieldForm( integer $idform, integer $idfield, integer $fieldType )

Displays a form for editing a PIFA form field.

Displays a form for editing a PIFA form field.

Parameters

$idform
$idfield
$fieldType

Throws

PifaException
private
# _postFieldForm( integer $idform, integer $idfield )

Processes a form for editing a PIFA form field.

Processes a form for editing a PIFA form field.

Parameters

$idform
$idfield

Throws

PifaException
private
# _deleteField( integer $idfield )

Parameters

$idfield

Throws

PifaException
private
# _reorderFields( integer $idform, string $idfields )

reorder fields

reorder fields

Parameters

$idform
$idfields
CSV of integers
private
# _exportData( integer $idform )

Parameters

$idform
private
# _exportForm( integer $idform, boolean $withData )

Create an PIFA form export file as XML and displays this as attachment for download.

Create an PIFA form export file as XML and displays this as attachment for download.

Parameters

$idform
of form to be exported
$withData
if form data should be included
private
# _getFile( string $name, string $file )

Parameters

$name
$file
private
# _getOptionRow( integer $index )

Parameters

$index
Constants summary
string GET_FIELD_FORM

Action constant to display a form for editing a PIFA form field.

Action constant to display a form for editing a PIFA form field.

# 'pifa_get_field_form'
string POST_FIELD_FORM

Action constant to process a form for editing a PIFA form field.

Action constant to process a form for editing a PIFA form field.

# 'pifa_post_field_form'
string REORDER_FIELDS

Action constant.

Action constant.

# 'pifa_reorder_fields'
string EXPORT_DATA

Action constant.

Action constant.

# 'pifa_export_data'
string EXPORT_FORM

Action constant.

Action constant.

# 'pifa_export_form'
string IMPORT_FORM

Action constant.

Action constant.

# 'pifa_import_form'
string GET_FILE

Action constant.

Action constant.

# 'pifa_get_file'
string DELETE_FIELD

Action constant.

Action constant.

# 'pifa_delete_field'
string GET_OPTION_ROW

Action constant.

Action constant.

# 'pifa_get_option_row'
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen