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 Pifa

Helper class for this plugin.

Package: Plugin\FormAssistant
Copyright: four for business AG
Author: marcus.gnass
Located at plugins/form_assistant/includes/config.plugin.php
Methods summary
public static
# getName( )
public static string
# getPath( )

Return path to this plugins folder.

Return path to this plugins folder.

Returns

string
public static string
# getUrl( )

Return URL to this plugins folder.

Return URL to this plugins folder.

Returns

string
public static string
# i18n( string $key )

Parameters

$key
string
$key

Returns

string
public static
# getNote( string $level, string $note )

Parameters

$level
string
$level
$note
string
$note
public static
# getError( string $note )

Parameters

$note
string
$note
public static
# logException( Exception $e )

Parameters

$e
Exception
$e
public static
# displayException( Exception $e, boolean $showTrace = false )

TODO build method to display erro & info box and just call it from here

TODO build method to display erro & info box and just call it from here

Parameters

$e
Exception
$e
$showTrace
boolean
$showTrace if trace should be displayed too
public static string
# notifyException( Exception $e )

Creates a notification widget in order to display an exception message in backend.

Creates a notification widget in order to display an exception message in backend.

Parameters

$e
Exception
$e

Returns

string
public static array
# getExtensionClasses( string $parentClass )

Returns array of extension classes that subclass the given $parentClass.

Returns array of extension classes that subclass the given $parentClass.

Parameters

$parentClass
string
$parentClass

Returns

array

Throws

PifaException
public static array
# getTemplates( mixed $re = '/cms_pifaform_[^\.]+\.tpl/' )

Returns array of client templates that that adhere to the naming convention cms_pifaform_FOOBAR.tpl where FOOBAR is any character but a dot.

Returns array of client templates that that adhere to the naming convention cms_pifaform_FOOBAR.tpl where FOOBAR is any character but a dot.

Returns

array

Throws

PifaException
public static string
# fromCamelCase( string $str )

Translates a camel case string into a string with underscores (e.g. firstName -> first_name)

Translates a camel case string into a string with underscores (e.g. firstName -> first_name)

Parameters

$str
string
$str String in camel case format

Returns

string
$str Translated into underscore format

See

http://www.paulferrett.com/2009/php-camel-case-functions/
public static string
# toCamelCase( string $str, boolean $capitalise_first_char = false )

Translates a string with underscores into camel case (e.g. first_name -> firstName)

Translates a string with underscores into camel case (e.g. first_name -> firstName)

Parameters

$str
string
$str String in underscore format
$capitalise_first_char
boolean
$capitalise_first_char If true, capitalise the first char in $str

Returns

string
$str translated into camel caps

See

http://www.paulferrett.com/2009/php-camel-case-functions/
public static string
# getTimestampSetting( string $force = false )

Translates a string with underscores into camel case (e.g. first_name -> firstName)

Translates a string with underscores into camel case (e.g. first_name -> firstName)

Parameters

$force
string
$str String in underscore format

Returns

string
$str translated into camel caps

See

http://www.paulferrett.com/2009/php-camel-case-functions/
public static boolean
# isHttps( )

Determine if page is called via HTTPS.

Determine if page is called via HTTPS.

Returns

boolean
Constants summary
string TIMESTAMP_NEVER 'never'
#

These constants describe if forms have a timestamp.

These constants describe if forms have a timestamp.

string TIMESTAMP_BYFORM 'byform'
#
string TIMESTAMP_ALWAYS 'always'
#
Properties summary
private static string $_name 'form_assistant'
#

name of this plugin

name of this plugin

private static integer $_timestampSetting NULL
#
CMS CONTENIDO 4.9.8 API documentation generated by ApiGen 2.8.0