Issues

ZF-8563: Firebug Profiler - method for setting label

Issue Type: Improvement Created: 2009-12-17T01:34:32.000+0000 Last Updated: 2012-11-20T21:37:48.000+0000 Status: Open Fix version(s): Reporter: Ludwig Ruderstaller (rufinus) Assignee: None Tags: - Zend_Db_Profiler

Related issues: Attachments: - ZF-8563.patch

Description

Since 1.8 and the possability to setup a DB connection in the config file, it is not possible to define the label of the profiler output in firebug. (The only way to do this currently is to init the profiler class with the label in the contstructor and call $db->setProfiler($profiler); )

there should be a setLabel() method like:

<pre class="highlight">
/**
 * Set Label
 * @param string $label Label in Firebug
 */
public function setLabel($label)
{
    $this->_label = $label;
}   

Comments

Posted by Christopher Thomas (cwt137) on 2010-01-21T06:54:12.000+0000

Attached is a patch for this issue. It includes unit test.

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