We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac6db37 commit 214c234Copy full SHA for 214c234
snippets/other.json
@@ -3,7 +3,8 @@
3
"scope": "php",
4
"prefix": "user",
5
"body": [
6
- "if (\\$GLOBALS[\"USER\"]->IsAdmin()) {echo \"<pre>\";print_r(${1:\\$arResult});echo \"</pre>\";}"
+ "if (\\$GLOBALS[\"USER\"]->IsAdmin()) {echo \"<pre>\";print_r(${1:\\$arResult});echo \"</pre>\";}",
7
+ "$0"
8
],
9
"description": "Принт переменной только для админа."
10
}
0 commit comments