// Get the enty we need and trim it
$entry = trim($data['matches'][4][$data['key']]);
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS['expression_function_available'][$entry])) {
// Init function name
$functionName = 'get';
// Expression call-back function for URLs
function doExpressionUrl ($data) {
- // Do we have JS-mode?
+ // Is there JS-mode?
if ($data['callback'] == 'js') {
// Switch to it
$data['output_mode'] = '1';
// Expression call-back function for getting configuration data
// @TODO FILTER_COMPILE_CONFIG does not handle call-back functions so we handle it here again
function doExpressionConfig ($data) {
- // Do we have a special expression function for it?
+ // Is there a special expression function for it?
if (isExpressionFunctionAvaiable($data)) {
// Then use it
$replacer = '{DQUOTE} . ' . $data['callback'] . '(' . getExpressionFunction($data) . '()) . {DQUOTE}';
// We need callback and extra_func: callback is really the call-back function, extra_func is our value
$replacer = $data['extra_func'];
- // Do we have a call-back? Should always be there!
+ // Is there a call-back? Should always be there!
if (!empty($data['callback'])) {
//* DEBUG: */ if ($data['callback'] == 'getMemberId') die('<pre>'.encodeEntities(print_r($data, true)).'</pre>');
// If the value is empty, we don't add it