Created
September 3, 2012 15:28
-
-
Save bakura10/3610077 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Dans ton layout : | |
<?php echo $this->placeholder('widget'); ?> | |
// Dans un hypothétique fichier Messagerie/view/messagerie/widget.phtml : | |
<?php $this->placeholder('widget')->captureStart(); ?> | |
<h1>Mon widget<h1> | |
<?php echo 'Salut'; ?> | |
<?php $this->placeholder('widget')->captureEnd(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment