Studyon Minte9.com
ZF 1.0




Pass vars



// controller
$form->addAttribs(array('gravatar_url' => $path));
$this->view->form = $form;

// view script
<form enctype="<?php echo $this->escape($this->element->getEnctype()) ?>" 
		action="<?php echo $this->escape($this->element->getAction()) ?>"
		method="<?php echo $this->escape($this->element->getMethod()) ?>">

<img src='<?php echo $this->element->getAttrib('gravatar_url'); ?>'>

...