Back to Profiler class

Method getMarks

public array
getMarks
()
Get all profiler marks.
Returns
  • array Array of profiler marks
Since
  • 1.7.0
Class: Profiler
Project: Joomla

Method getMarks - Source code

/**
 * Get all profiler marks.
 *
 * Returns an array of all marks created since the Profiler object
 * was instantiated.  Marks are objects as per {@link JProfiler::mark()}.
 *
 * @return  array  Array of profiler marks
 *
 * @since   1.7.0
 */
public function getMarks()
{
    return $this->marks;
}