_MPDF_SYSTEM_TTFONTS
public
mixed
_MPDF_SYSTEM_TTFONTS
= $this->cx->getCodeBaseLibraryPath() . '/mpdf/ttfonts/'
public
mixed
_MPDF_SYSTEM_TTFONTS
= $this->cx->getCodeBaseLibraryPath() . '/mpdf/ttfonts/'
public
mixed
_MPDF_SYSTEM_TTFONTS_CONFIG
= $this->getDirectory() . '/Controller/clx_config.php'
public
mixed
_MPDF_TTFONTPATH
= $this->cx->getWebsiteDocumentRootPath() . \Cx\Core\Core\Controller\Cx::FOLDER_NAME_MEDIA . '/Pdf/ttfonts/'
Debug mode
public
mixed
_PAYMENT_DEBUG
= 0
Debug mode
public
mixed
_PAYPAL_DEBUG
= 0
public
mixed
ADODB_OUTP
= function () {
}
public
mixed
BACKEND_PROTECTION
= 1 << 1
public
mixed
CRM_EVENT_ON_ACCOUNT_UPDATED
= 'crm_notify_staff_on_contact_added'
public
mixed
CRM_EVENT_ON_TASK_CREATED
= 'crm_task_assigned'
public
mixed
CRM_EVENT_ON_USER_ACCOUNT_CREATED
= 'crm_user_account_created'
public
mixed
DBG_ADODB
= \DBG_ADODB_SELECT | \DBG_ADODB_CHANGE
public
mixed
DBG_ADODB_CHANGE
= 1 << 3
public
mixed
DBG_ADODB_ERROR
= 1 << 4
public
mixed
DBG_ADODB_SELECT
= 1 << 1
public
mixed
DBG_ADODB_TRACE
= 1 << 2
public
mixed
DBG_ALL
= \DBG_PHP | \DBG_DB | \DBG_DB_TRACE | \DBG_DB_ERROR | \DBG_DB_DUMP_ON_ERROR | \DBG_LOG_FILE | \DBG_LOG_MEMORY | \DBG_LOG | \DBG_PROFILE | \DBG_DEBUG
public
mixed
DBG_DB
= \DBG_DB_SELECT | \DBG_DB_CHANGE
public
mixed
DBG_DB_CHANGE
= \DBG_ADODB_CHANGE | \DBG_DOCTRINE_CHANGE
public
mixed
DBG_DB_DUMP_ON_ERROR
= 1 << 10
public
mixed
DBG_DB_ERROR
= \DBG_ADODB_ERROR | \DBG_DOCTRINE_ERROR
public
mixed
DBG_DB_SELECT
= \DBG_ADODB_SELECT | \DBG_DOCTRINE_SELECT
public
mixed
DBG_DB_TRACE
= \DBG_ADODB_TRACE | \DBG_DOCTRINE_TRACE
public
mixed
DBG_DEBUG
= 1 << 14
public
mixed
DBG_DOCTRINE
= \DBG_DOCTRINE_SELECT | \DBG_DOCTRINE_CHANGE
public
mixed
DBG_DOCTRINE_CHANGE
= 1 << 7
public
mixed
DBG_DOCTRINE_ERROR
= 1 << 8
public
mixed
DBG_DOCTRINE_SELECT
= 1 << 5
public
mixed
DBG_DOCTRINE_TRACE
= 1 << 6
public
mixed
DBG_LOG
= 1 << 12
public
mixed
DBG_LOG_FILE
= 1 << 9
public
mixed
DBG_LOG_MEMORY
= 1 << 11
Cloudrexx
public
mixed
DBG_NONE
= 0
public
mixed
DBG_PHP
= 1 << 0
public
mixed
DBG_PROFILE
= 1 << 13
public
mixed
DBG_PROFILE_FORCE
= 1 << 16
public
mixed
DBG_PROFILE_OFF
= 1 << 15
public
mixed
DBG_PROFILE_ON
= \DBG_PROFILE
public
mixed
FRONTEND_LANG_ID
= $this->lang
public
mixed
FRONTEND_LANG_ID
= $params['get']['lang']
public
mixed
FRONTEND_LANG_ID
= 1
public
mixed
FRONTEND_LANG_ID
= $langId
public
mixed
FRONTEND_LANG_ID
= $lang
public
mixed
FRONTEND_LANG_ID
= 1
public
mixed
FRONTEND_PROTECTION
= 1 << 0
public
mixed
PCLZIP_TEMPORARY_DIR
= $this->cx->getComponent('Session')->getSession()->getTempPath() . '/'
public
mixed
SHOP_CATEGORY_IMAGE_PATH
= \Cx\Core\Core\Controller\Cx::instanciate()->getWebsiteImagesShopPath() . '/'
public
mixed
SHOP_CATEGORY_IMAGE_WEB_PATH
= \Cx\Core\Core\Controller\Cx::instanciate()->getWebsiteImagesShopWebPath() . '/'
Payment gateway URIs
public
mixed
SHOP_PSP_URI_DATATRANS
= 'https://payment.datatrans.biz/upp/jsp/upStart.jsp'
Live Service URIs: UTF-8 encoding: https://payment.datatrans.biz/upp/jsp/upStart.jsp ISO encoding: https://payment.datatrans.biz/upp/jsp/upStartIso.jsp
Service URIs for testing: UTF-8 encoding: https://pilot.datatrans.biz/upp/jsp/upStart.jsp ISO encoding: https://pilot.datatrans.biz/upp/jsp/upStartIso.jsp
public
mixed
SHOP_PSP_URI_DATATRANS_TEST
= 'https://pilot.datatrans.biz/upp/jsp/upStart.jsp'
public
mixed
SWAGGER_API_HOST
= \Cx\Core\Routing\Url::fromApi('v1', array())->toString()
Regular Expression for e-mail addresses TKaelin @ 2.0.2: wrote new regex based on http://en.wikipedia.org/wiki/E-mail_address Dave V, @ 2.1.2: re-wrote regex according to http://www.regular-expressions.info/email.html Reto Kohli @ 2.1.4: Fixed e-mail regex for PHP by adding more backslashes for special characters
public
mixed
VALIDATOR_REGEX_EMAIL
= '[a-zäàáâöôüûñéè0-9!\#\$\%\&\'\*\+\/\=\?\^_\`\{\|\}\~-]+(?:\.[a-zäàáâöôüûñéè0-9!\#\$\%\&\'\*\+\/\=\?\^_\`\{\|\}\~-]+)*@(?:[a-zäàáâöôüûñéè0-9](?:[a-zäàáâöôüûñéè0-9-]*[a-zäàáâöôüûñéè0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?'
Regular Expression in javascript for e-mail addresses
public
mixed
VALIDATOR_REGEX_EMAIL_JS
= '^' . \VALIDATOR_REGEX_EMAIL . '$'
Regular Expression for URIs
public
mixed
VALIDATOR_REGEX_URI
= \VALIDATOR_REGEX_URI_PROTO . '?((([\wäàáâöôüûñéè\d-]{1,}\.)+[a-z]{2,})|((?:(?:25[0-5]|2[0-4]\d|[01]\d\d|\d?\d)(?:(\.?\d)\.)) {4}))(?:[\w\d]+)?(\/[\w\d\-\.\?\,\'\/\\\\+\&\%\$\#\=\~:]*)?'
Regular Expression in javascript for URIs
public
mixed
VALIDATOR_REGEX_URI_JS
= '^' . \VALIDATOR_REGEX_URI . '$'
Regular Expression for URI protocols
public
mixed
VALIDATOR_REGEX_URI_PROTO
= '(?:(?:ht|f)tps?\:\/\/)'
Known protocols include HTTP, HTTPS, FTP, and FTPS.
Checks if a certain module, specified by param $moduleName, is a core module.
contrexx_isCoreModule(string $moduleName) : bool
Checks if a certain module, specified by param $moduleName, is active.
contrexx_isModuleActive(string $moduleName) : bool
Checks if a certain module, specified by param $moduleName, is installed.
contrexx_isModuleInstalled(string $moduleName) : bool
OBSOLETE Use the {@see Paging::get()} method instead.
getPaging(int $numof_rows, int $pos, string $uri_parameter, string $paging_text[, bool $showeverytime = false ][, int $results_per_page = null ]) : string
Returs a string representing the complete paging HTML code for the current page. Note that the old $pos parameter is obsolete as well, see getPosition().
The number of rows available
The offset from the first row
Result
Wrapper for new \Cx\Core\Core\Controller\Cx()
init([string $mode = null ][, mixed $checkInstallationStatus = true ]) : Cx
This is necessary, because we cannot use namespaces in index.php in order to catch errors with PHP versions prior to 5.3
(optional) One of 'frontend', 'backend', 'cli', 'minimal'
Instance of Cloudrexx
Wrapper for strip_tags() that complies with gpc_magic_quotes
contrexx_strip_tags(string $string) : string
$string (cleaned)
Wrapper for addslashes() that complies with gpc_magic_quotes
contrexx_addslashes(string $string) : string
cleaned
Wrapper for stripslashes() that complies with gpc_magic_quotes
contrexx_stripslashes(string $string) : string
Processes the argument like {@see contrexx_stripslashes()}, but also handles arrays
contrexx_stripslashes_recursive(mixed $param) : mixed
Recurses down into array parameters and applies contrexx_stripslashes() to any scalar value encountered.
A scalar or array value
The parameter with magic slashes removed recursively, if any.
Convenient match-and-replace-in-one function
preg_match_replace(string $pattern, string $replace, string $subject[, array<string|int, mixed> &$subpatterns = null ][, int $limit = -1 ][, int &$count = null ]) : string
Parameters are those of preg_match() and preg_replace() combined.
The regex pattern to match
The replacement string for matches
The string to be matched/replaced on
The optional array for the matches found
The optional limit for replacements
The optional counter for the replacements done
The resulting string
Checks whether the request comes from a known spider
checkForSpider() : bool
Encodes raw strings or arrays thereof for use with [X]HTML
contrexx_raw2xhtml(mixed $raw) : mixed
Apply to raw strings and those taken from the database, or arrays of these, before writing the contents to the HTML response stream. Note that arrays may be nested, and all scalar (leaf) elements are treated the same way. Array keys are preserved.
The raw string or array
The HTML encoded string or array
Unescapes data from any request and returns a raw string or an array thereof.
contrexx_input2raw(mixed $input) : mixed
Apply to any string or array taken from a get or post request, or from a cookie.
The input string or array
The raw string or array
Ensures that data from any request is limited to integer values
contrexx_input2int(mixed $input) : mixed
Apply to any string or array taken from a get or post request, or from a cookie.
The input string or array
The integer or array thereof
Ensures that data from any request is limited to float values
contrexx_input2float(mixed $input) : mixed
Apply to any string or array taken from a get or post request, or from a cookie.
The input string or array
The float or array thereof
Unescapes data from any request and adds slashes for insertion into the database
contrexx_input2db(mixed $input) : mixed
Apply to any string or array taken from a get or post request, or from a cookie before inserting into the database.
The input string or array
The unescaped slashed string or array
Unescapes data from any request and encodes it for use with [X]HTML
contrexx_input2xhtml(mixed $input) : mixed
Apply to any string or array taken from a get or post request, or from a cookie before writing it to the HTML response stream.
The input string or array
The unescaped HTML encoded string or array
Adds slashes to the given raw string or array thereof for insertion into the database.
contrexx_raw2db(mixed $raw) : mixed
The raw string or array
The slashed string or array
Encodes a raw string or array thereof for use with XML
contrexx_raw2xml(mixed $raw) : mixed
Apply to raw strings and those taken from the database or arrays thereof before writing to the XML response stream.
The raw string or array
The XML encoded string or array
Encodes a raw string or array thereof for use as a href or src attribute value.
contrexx_raw2encodedUrl(mixed $source[, bool $encodeDash = false ]) : mixed
Apply to any raw string or array that is to be used as a link or image address in any tag attribute, such as a.href or img.src.
The raw string or array
Encode dashes ('-') if true. Defaults to false
The URL encoded string or array
Removes script tags and their content from the given string or array thereof
contrexx_remove_script_tags(mixed $raw) : mixed
The original string or array
The string or array with script tags removed
Decode [X]HTML entities to raw plaintext string
contrexx_xhtml2raw(mixed $xhtml) : mixed
Note that arrays may be nested, and all scalar (leaf) elements are treated the same way. Array keys are preserved.
The raw string or array
The raw decoded string or array
Extracts the plaintext out of a html code
contrexx_html2plaintext(mixed $html) : mixed
The html code as string or an array containing multiple html code strings
The plaintext of the provided html code
Load custom fonts for PDF generation
getCustomFonts(mPdf $mPdf) : void
mPdf