]> git.mxchange.org Git - mailer.git/blobdiff - inc/expression-functions.php
Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / expression-functions.php
index 92e1757623d255c3cc1b2eee383261c4c22e65d9..f8e823d9bc9a6694d0321905340bfdbc22ce6dce 100644 (file)
@@ -53,7 +53,7 @@ function isExpressionFunctionAvaiable ($data) {
        // 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';
@@ -108,7 +108,7 @@ function doExpressionCode ($data) {
 
 // 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';
@@ -169,7 +169,7 @@ function doExpressionExt ($data) {
 // 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}';
@@ -193,7 +193,7 @@ function doExpressionPipe ($data) {
        // 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