Issues

ZF-9044: Zend_Application_Resource_Frontcontroller doesn't allow to force the index of a plugin we want to register

Issue Type: Improvement Created: 2010-02-01T13:30:36.000+0000 Last Updated: 2010-02-02T10:43:52.000+0000 Status: Resolved Fix version(s): - 1.10.1 (10/Feb/10)

Reporter: Mickael Perraud (mikaelkael) Assignee: Dolf Schimmel (Freeaqingme) (freak) Tags: - Zend_Application_Resource

Related issues: Attachments:

Description

The current registration only accept the name of the plugin: resources.frontController.plugins.memoryusage = "Mp_Controller_Plugin_MemoryUsage"

One possibility: resources.frontController.plugins.memoryusage.class = "Mp_Controller_Plugin_MemoryUsage" resources.frontController.plugins.memoryusage.index = 200

Comments

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-02-01T14:11:23.000+0000

Done. To be released in ZF 1.10.1

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-02-01T14:20:57.000+0000

Hey(!) that suggestion was mine!

Anyhow, functionality implemented.

EDIT: Oh, I commented that already, just didn't resolve it. My bad.

Posted by Mickael Perraud (mikaelkael) on 2010-02-01T14:32:50.000+0000

Yes, it was effectively your proposition.

I wanted to keep this in memory if the correction would be long. But you were faster than I had imagined it! (y)

Posted by Mickael Perraud (mikaelkael) on 2010-02-02T01:20:08.000+0000

An addition in the documentation could be great. I can add it if you want.

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-02-02T01:24:31.000+0000

I was planning on doing that today. However, if you feel like adding it, please feel free to do so (that is appreciated).

Posted by Mickael Perraud (mikaelkael) on 2010-02-02T10:43:52.000+0000

Documentation added with r20837 and merge to 1.10 branch with r20838

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