Class Pifa
Helper class for this plugin.
Package: Plugin\FormAssistant
Copyright: four for business AG
Author: Marcus Gnaß <marcus.gnass@4fb.de>
Located at plugins/form_assistant/includes/config.plugin.php
Copyright: four for business AG
Author: Marcus Gnaß <marcus.gnass@4fb.de>
Located at plugins/form_assistant/includes/config.plugin.php
public static
|
|
public static
string
|
|
public static
string
|
|
public static
string
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
#
displayException( Exception $e, boolean $showTrace = false )
TODO build method to display erro & info box and just call it from here |
public static
string
|
#
notifyException( Exception $e )
Creates a notification widget in order to display an exception message in backend. |
public static
array
|
#
getExtensionClasses( string $parentClass )
Returns array of extension classes that subclass the given $parentClass. |
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. |
public static
string
|
#
fromCamelCase( string $str )
Translates a camel case string into a string with underscores (e.g. firstName -> first_name) |
public static
string
|
#
toCamelCase( string $str, boolean $capitalise_first_char = false )
Translates a string with underscores into camel case (e.g. first_name -> firstName) |
public static
string
|
#
getTimestampSetting( string $force = false )
Translates a string with underscores into camel case (e.g. first_name -> firstName) |
public static
boolean
|
string |
TIMESTAMP_NEVER
|
'never' |
#
These constants describe if forms have a timestamp. |
string |
TIMESTAMP_BYFORM
|
'byform' |
|
string |
TIMESTAMP_ALWAYS
|
'always' |
private static
string
|
$_name | 'form_assistant' |
#
name of this plugin |
private static
integer
|
$_timestampSetting | NULL |