Skip to content

Instantly share code, notes, and snippets.

@csrui
Created April 14, 2014 16:38
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 csrui/10663803 to your computer and use it in GitHub Desktop.
Save csrui/10663803 to your computer and use it in GitHub Desktop.
Sublime Editor 3 - Snippets for CakePHP
<snippet>
<content><![CDATA[
$this->Html->link(__('${1:Link name}'), array('controller' => '${2:Controller}', 'action' => '${3:action}'))
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>link</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