ZF-6882: Allow view to assign variables in application config file

Issue Type: New Feature Created: 2009-06-02T05:05:49.000+0000 Last Updated: 2009-09-18T08:46:44.000+0000 Status: Resolved Fix version(s): Reporter: Václav Vaník (dimmu) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application

Related issues: Attachments:


Something like

resources.view.assign.variable_name = variable_value


Posted by Dolf Schimmel (Freeaqingme) (freak) on 2009-09-18T08:46:43.000+0000

After a brief discussion on IRC ( @ freenode) we've decided not to include this functionality in ZF. If you want to use configuration stuff in your views though you are advised to either use an action plugin, controller plugin or view helper, because the way Zend_View has been set up is to get everything from helpers, plugins, etc, which would make a configuration target "tricky".

-- Resolving as won't fix

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.