-- Matthew Ratzloff <[email protected]> wrote
(on Tuesday, 09 June 2009, 07:57 AM -0700):
> There was an issue raised requesting that Zend_Paginator output something by
> default without setting a view partial.  The easiest way to do this is to
> include a default view partial.  The question is: where?  I was thinking Zend/
> View/Helper/PaginationControl/default.phtml.  Or is there somewhere else where
> we would want to put that?  Perhaps I just assemble it using XMLWriter (on by
> default starting in 5.1.2)?
> 
> Currently there are two components that I can find that have this
> functionality: Zend_Form and Zend_Navigation.  Form uses the decorators and
> Navigation includes raw HTML.
> 
> Any thoughts?

We're toying with the idea of a data/ directory in the main distribution
for things like this, localization files, and more. We're just not 100%
certain how it would work from the various distribution standpoints
(PEAR installer does it one way, linux distros do it another, etc.) to
ensure it can be autodiscovered.

For now, I'd prefer you use something like XMLWriter so that it is
completely programmatic.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/

Reply via email to