Skip to content

Instantly share code, notes, and snippets.

@tonio
Created April 30, 2009 09:01
Show Gist options
  • Save tonio/104360 to your computer and use it in GitHub Desktop.
Save tonio/104360 to your computer and use it in GitHub Desktop.
<?php $menu = get_slot('menu') ?>
<?php slot('menu') ?>
<?php echo $menu ?>
<li><a href="#<?php echo sfInflector::Camelize($item) ?>"><?php echo $item ?></a></li>
<?php end_slot() ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment