ZF-8563: Firebug Profiler - method for setting label
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:
/**
* 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.