Package DE_EPAGES::Presentation::API::Constants
Constants for the Presentation cartridge
Functions
- EPAGES6_LOCALIZED_FIELDS_LENGTH
- FORMSUBMIT_TIMEFRAME
- IS_LENGTH_CHECK_ACTIVE
- STRING_COVERAGE
- UNITY_LOCALIZED_FIELDS_LENGTH
$PROCESSMONITOR (boolean)
true if the monitor is enabled
$DEFAULT_HISTORY_ENTRIES (int)
count of history entries (20)
RESERVED_ATTRIBUTENAMES (array)
reserved names witch cannot be used as
attribute names
PASSWORD_DUMMY (string)
the dummy text which is displayed in password fields
(********)
BASIC_JSON_ATTRIBUTES (ref.array.string)
deprecated only used by dojo json,
list of attributes names for JSONChildren
JQUERY_JSON_ATTRIBUTES (ref.array.string)
list of attributes names for JSONChildrenJSTree
JQUERY_JSON_IGNORED_CLASSES (ref.array.string)
list of ignored classed for JSONChildrenJSTree
MAX_PREVIEW_CHILD_ITEMS (int)
number of maximal visible child items
MAX_IMAGE_UPLOAD_SIZE (int
The value of MAXCONTENTLENGTH in WebInterface.conf is the max size
use this constant to set the limit lower than MAXCONTENTLENGTH)
max image size in kB for uploading images
ALLOW_SESSION_IN_URL (integer)
Enables session handling for user agents that do
do accept cookies for all or some domains. Default=1.
This value is configurable in the epages.conf file, section
DE_EPAGES::Presentation, key AllowSessionInURL
UNITY_VIEW_ACTION_EXCEPTION_REGEX (int)
regex list not to be prefixed with Unity
RECAPTCHA_PUBLIC_KEY
returns ReCaptcha public key
RECAPTCHA_PRIVATE_KEY
returns ReCaptcha private key
RECAPTCHA_CALL_TIMEOUT (int)
Timeout for Google ReCaptcha API
RECAPTCHA_CALL_URL (String)
Google url
RECAPTCHA_TEST_KEY_HOSTNAME (String)
Google test key hostname response
RECAPTCHA_FORM_ERROR (hash)
Form error for Google ReCaptcha
UNITY_SF_VIEW_ACTION_PREFIX (string)
Prefix for SF view actions of an Unity shop
WRITEABLE_PATH_ATTRIBUTES (string)
List of attributes that are writable and
that are used to construct filenames. Must be checked because of potential
path traversal attacks
EPAGES6_LOCALIZED_FIELDS_LENGTH
Returns a hash of field lengths of localized strings for ep6
Syntax |
EPAGES6_LOCALIZED_FIELDS_LENGTH()->{'Description'}; |
Return |
|
FORMSUBMIT_TIMEFRAME
Gets feature configuration from configuration file
Syntax |
my $FormsubmitConfigValues = FORMSUBMIT_TIMEFRAME(); |
Return |
|
IS_LENGTH_CHECK_ACTIVE
Returns a flag from epages.conf which tells whether length check is active
Syntax |
IS_LENGTH_CHECK_ACTIVE(); |
Return |
|
STRING_COVERAGE
Returns a float from epages.conf which tells what percent of string should match in the comparison to be considered equal
Syntax |
STRING_COVERAGE(); |
Return |
|
UNITY_LOCALIZED_FIELDS_LENGTH
Returns a hash of field lengths of localized strings for unity
Syntax |
UNITY_LOCALIZED_FIELDS_LENGTH()->{'Description'}; |
Return |
|