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 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

Returns

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

Parameters

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

Parameters

$note
public static
# logException( Exception $e )

Parameters

$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
$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

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

Returns

array

Throws

PifaException
public static array
# getTemplates( $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 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 in underscore format
$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, boolean $capitalise_first_char,… )

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
$str String in underscore format
$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 boolean
# isHttps( )

Determine if page is called via HTTPS.

Determine if page is called via HTTPS.

Returns

boolean
Constants summary
string TIMESTAMP_NEVER

These constants describe if forms have a timestamp.

These constants describe if forms have a timestamp.

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

name of this plugin

name of this plugin

# 'form_assistant'
private static integer $_timestampSetting
# NULL
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen