Ticket #329 (closed Patch: fixed)
Profiler __toString()
| Reported by: | Lick | Owned by: | - No owner - |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.1 |
| Component: | Libraries | Version: | |
| Keywords: | profiler string render print | Cc: |
Description
It would be nice to have the Profiler be "printable as string", same like the Calendar (which needs tons of work!!).
/**
* Magically convert this object to a string, the rendered profiler.
*
* @return string
*/
public function __toString()
{
return $this->render();
}
Change History
Note: See
TracTickets for help on using
tickets.
