Skip to content

Instantly share code, notes, and snippets.

@cozingo
Created February 23, 2017 11:14
Show Gist options
  • Save cozingo/73626fd70a107161e68acc30ab28d98f to your computer and use it in GitHub Desktop.
Save cozingo/73626fd70a107161e68acc30ab28d98f to your computer and use it in GitHub Desktop.
from view to layout pass variable
$this->beginBlock('name');
echo name;
$this->endBlock();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment