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

Classes

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

Exceptions

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

Class DefaultFormModule

This class is the default implementation for PIFA form modules. On a GET request it displays a form. On a POST request the posted data is processed. If an error occurs the form is displayed again only that now all valid data is displayed in the form and error messages (if defined) are displayed for all invalid form fields.

PifaAbstractFormModule
Extended by DefaultFormModule
Package: Plugin\FormAssistant
Copyright: four for business AG
Author: Marcus Gnaß <marcus.gnass@4fb.de>
Located at plugins/form_assistant/extensions/class.pifa.default_form_module.php
Methods summary
protected
# doGet( array $values = array(), array $errors = array() )

Handle GET request.

Handle GET request.

Parameters

$values
array
$values to be displayed in form
$errors
array
$errors to be displayed in form

Throws

Exception
if form could not be loaded

See

PifaAbstractFormModule::doGet()
protected
# doPost( )

Handle POST request.

Handle POST request.

See

PifaAbstractFormModule::doPost()
Methods inherited from PifaAbstractFormModule
__construct(), _getRequestMethod(), getIdform(), getSetting(), getSettings(), getTemplateName(), getTpl(), render(), setIdform(), setSettings(), setTemplateName(), setTpl()
Constants inherited from PifaAbstractFormModule
GET, POST
Properties inherited from PifaAbstractFormModule
$_settings
CMS CONTENIDO 4.9.11 API documentation generated by ApiGen 2.8.0