Symfony Slot - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Symfony Slot (/showthread.php?tid=43977) |
Symfony Slot - El Forum - 07-29-2011 [eluser]Andrew H L Leung[/eluser] Slot Helper: Introduction Symfony Slot like function. http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer#chapter_07_sub_slots Require library http://codeigniter.com/wiki/layout_library/ Source helpers/slot_helper.php Code: <?php Usage template.php Code: <html > view_file.php Code: <?php slot('html_title'); ?> Output Code: <html > Symfony Slot - El Forum - 07-29-2011 [eluser]Glazz[/eluser] Hello, Im sorry but i dont see the point of this helper lol Symfony Slot - El Forum - 07-29-2011 [eluser]Andrew H L Leung[/eluser] see the description of symfony slot. http://www.symfony-project.org/book/1_0/07-Inside-the-View-Layer#chapter_07_sub_slots |