Ticket #329 (closed Patch: fixed)

Opened 11 months ago

Last modified 11 months ago

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

Changed 11 months ago by Geert

  • status changed from new to closed
  • resolution set to fixed

Added in r1761.

Note: See TracTickets for help on using tickets.