Skip to content

Instantly share code, notes, and snippets.

@tanguy-martin
Created July 18, 2012 07:13
Show Gist options
  • Save tanguy-martin/3134744 to your computer and use it in GitHub Desktop.
Save tanguy-martin/3134744 to your computer and use it in GitHub Desktop.
Single variable assignment to a view script with Zend Framework
<?php
$this->view->assign('myvar', $myvar);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment