Issues

ZF-12331: Allow 'options' in 'plugins' Frontcontroller

Issue Type: Improvement Created: 2012-07-11T14:26:30.000+0000 Last Updated: 2012-07-11T14:26:30.000+0000 Status: Open Fix version(s): Reporter: Ramon Henrique Ornelas (ramon) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Application_Resource

  • Zend_Controller

Related issues: Attachments:

Description

Resource Frontcontroller should allow pass 'options' in __construct() of plugins frontcontroller.

<pre class="highlight">
$stackIndex = null;
                $_options = array();
                if (is_array($pluginClass)) {
                    $pluginClass = array_change_key_case($pluginClass, CASE_LOWER);

                    if (isset($pluginClass['options'])) {
                        $_options = $pluginClass['options'];
                    }

                    if (isset($pluginClass['class'])) {
                        if(isset($pluginClass['stackindex'])) {
                            $stackIndex = $pluginClass['stackindex'];
                        }

                        $pluginClass = $pluginClass['class'];
                    }
                }

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts