Skip to content

Commit

Permalink
Refactored so can access EM debug logs without writing to physical fi…
Browse files Browse the repository at this point in the history
…les.

BugFix - EM's aliases for ListWithComments did not provide access to both the list answer and the comment
Syntax for accessing variables is documented here:  http://docs.limesurvey.org/Expression+Manager#Access_to_Variables

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_ci@10935 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
TMSWhite committed Sep 3, 2011
1 parent 1c92e36 commit ab69d31
Show file tree
Hide file tree
Showing 5 changed files with 163 additions and 150 deletions.
4 changes: 2 additions & 2 deletions application/helpers/expressions/em_core_helper.php
Expand Up @@ -2090,8 +2090,8 @@ static function ShowAllowableFunctions()
$em = new ExpressionManager();
$output = "<h3>Functions Available within Expression Manager</h3>\n";
$output .= "<table border='1'><tr><th>Function</th><th>Meaning</th><th>Syntax</th><th>Reference</th></tr>\n";
foreach ($em->amValidFunctions as $func) {
$output .= "<tr><td>" . $func[0] . "</td><td>" . $func[2] . "</td><td>" . $func[3] . "</td><td><a href='" . $func[4] . "'>" . $func[4] . "</a>&nbsp;</td></tr>\n";
foreach ($em->amValidFunctions as $name => $func) {
$output .= "<tr><td>" . $name . "</td><td>" . $func[2] . "</td><td>" . $func[3] . "</td><td><a href='" . $func[4] . "'>" . $func[4] . "</a>&nbsp;</td></tr>\n";
}
$output .= "</table>\n";
return $output;
Expand Down

0 comments on commit ab69d31

Please sign in to comment.