I see that on the View Partial Helper there is a class called $this.

when I do *<?php echo $this->partial(...); ?>* $this class has the type of
*Zend\View\Renderer\PhpRenderer*

Interestingly, there is no "function partial()" anywhere in ZF2 codebase. 
The closest I can find is  this comment
<https://github.com/zendframework/zf2/blob/bbb0545ad6552b9ecadd96c12223022b38734686/library/Zend/View/Renderer/PhpRenderer.php#L60>
  
which actually instantiates  *
<https://github.com/zendframework/zf2/blob/master/library/Zend/View/Helper/Partial.php>
Zend/View/Helper/Partial.php* , and so on ...



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/How-to-use-View-Helper-Partial-without-full-ZF2-tp4661962p4661963.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to