in any view of the application.
i'm doing this way:
<?php echo $this->partial('parts/dialogGenerator.phtml', array(
'title' => 'Title of the dliaog',
'var1' => 'var2',
'var2' => 'var2'
)); ?>
is it correct in MVC pattern ?
can i do this using view helpers ?
--
View this message in context: http://www.nabble.com/view%2C-code-reuse-tp23016128p23016128.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论