Skip to content

Instantly share code, notes, and snippets.

@geff21st
Created April 7, 2016 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geff21st/9c9a38a270e23e43211ee2cf99cabeef to your computer and use it in GitHub Desktop.
Save geff21st/9c9a38a270e23e43211ee2cf99cabeef to your computer and use it in GitHub Desktop.
<snippet>
<content><![CDATA[
foreach(\$${1:arResult['ITEMS']} as \$${2:key => }\$${3:arItem}):?>
<?=\$${3:arItem}['${4:NAME}']?>${0}
<?endforeach;?>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>fore</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment