Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Viewing queries inside toolbar #23

Closed
webdevilopers opened this issue Feb 5, 2013 · 6 comments
Closed

Viewing queries inside toolbar #23

webdevilopers opened this issue Feb 5, 2013 · 6 comments

Comments

@webdevilopers
Copy link

It would be nice to view the queries inside the toolbar's container similar to the Doctrine profiler.

Denis Ryabov posted a solution for this inside the toolbars template:
http://stackoverflow.com/questions/13275569/how-to-view-db-queries-generated-by-tablegateway-in-zend-framework-2

Is it possible?

@bjyoungblood
Copy link
Owner

Possible, I'm sure. I unfortunately don't have the time for such a task. Here are a couple of snippets that might help you out:

View partial
View helper
View helper service config

@vgarvardt
Copy link
Contributor

I dug into that feature and found that it is not related to Profiler module. This is related to ZendDeveloperTools, that checks if this module is installed and uses its information. If someone is interested in this feature - look at my pull request that adds queries list and details to ZendDeveloperTools DB toolbar

@joshribakoff
Copy link

The toolbar already has this feature, this ticket should be closed.

@webdevilopers
Copy link
Author

I can see this feature activated for Doctrine but where Do I find the queries for Zend\Db, @joshribakoff ?

@joshribakoff
Copy link

Same place. See my app here http://demo.metator.com - no doctrine in sight yet the DB panel is populated. Anyways this has nothing to do with bjyProfiler. This conversation belongs on the ZendDeveloperTools repository! bjy is not responsbile for integrating his code into other projects, those projects are responsible for integrating it themselves so please move this conversation there, or fee free to email for help.

@webdevilopers
Copy link
Author

Sure, @joshribakoff . I just missing the update for my ZendDevelopTools! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants