@@ 24-37 (lines=14) @@ | ||
21 | $str .= ((isset($step['class'])) ? htmlspecialchars($step['class'], ENT_NOQUOTES, 'UTF-8') : ''). |
|
22 | ((isset($step['type'])) ? htmlspecialchars($step['type'], ENT_NOQUOTES, 'UTF-8') : '').htmlspecialchars($step['function'], ENT_NOQUOTES, 'UTF-8').'('; |
|
23 | ||
24 | if (is_array($step['args'])) { |
|
25 | $drawn = false; |
|
26 | $params = ''; |
|
27 | foreach ($step['args'] as $param) { |
|
28 | $params .= self::getPhpVariableAsText($param); |
|
29 | //$params .= var_export($param, true); |
|
30 | $params .= ', '; |
|
31 | $drawn = true; |
|
32 | } |
|
33 | $str .= htmlspecialchars($params, ENT_NOQUOTES, 'UTF-8'); |
|
34 | if ($drawn == true) { |
|
35 | $str = substr($str, 0, strlen($str) - 2); |
|
36 | } |
|
37 | } |
|
38 | $str .= ')'; |
|
39 | $str .= '</td><td style="border-bottom: 1px solid #EEEEEE">'; |
|
40 | $str .= ((isset($step['file'])) ? htmlspecialchars(self::displayFile($step['file']), ENT_NOQUOTES, 'UTF-8') : ''); |
|
@@ 123-136 (lines=14) @@ | ||
120 | $str .= $step['class'].$step['type'].$step['function'].'('; |
|
121 | } |
|
122 | ||
123 | if (is_array($step['args'])) { |
|
124 | $drawn = false; |
|
125 | $params = ''; |
|
126 | foreach ($step['args'] as $param) { |
|
127 | $params .= self::getPhpVariableAsText($param); |
|
128 | //$params .= var_export($param, true); |
|
129 | $params .= ', '; |
|
130 | $drawn = true; |
|
131 | } |
|
132 | $str .= $params; |
|
133 | if ($drawn == true) { |
|
134 | $str = substr($str, 0, strlen($str) - 2); |
|
135 | } |
|
136 | } |
|
137 | $str .= ')'; |
|
138 | $str .= "\n"; |
|
139 | } |