You are here

interface XHProfRunsInterface in XHProf 7

Same name in this branch
  1. 7 XHProfRunsInterface.inc \XHProfRunsInterface
  2. 7 XHProfLib/XHProfRunsInterface.php \XHProfRunsInterface
Same name and namespace in other branches
  1. 6 XHProfRunsInterface.inc \XHProfRunsInterface
  2. 6 XHProfLib/XHProfRunsInterface.php \XHProfRunsInterface

@file Definition of XHProfRunsInterace.

Hierarchy

Expanded class hierarchy of XHProfRunsInterface

All classes that implement XHProfRunsInterface

1 string reference to 'XHProfRunsInterface'
xhprof_include in ./xhprof.module
Helper. Make sure expensive module_load_include() does not run needlessly.

File

./XHProfRunsInterface.inc, line 8
Definition of XHProfRunsInterace.

View source
interface XHProfRunsInterface {

  /**
   * This function gets runs based on passed parameters, column data as key, value as the value. Values
   * are escaped automatically. You may also pass limit, order by, group by, or "where" to add those values,
   * all of which are used as is, no escaping.
   *
   * @param array $stats Criteria by which to select columns
   * @return resource
   */
  public function getRuns($stats, $limit = 50, $skip = 0);
  public function getCount();
  public function get_run($run_id, $type, &$run_desc);
  public function save_run($xhprof_data, $type, $run_id = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
XHProfRunsInterface::getCount public function
XHProfRunsInterface::getRuns public function This function gets runs based on passed parameters, column data as key, value as the value. Values are escaped automatically. You may also pass limit, order by, group by, or "where" to add those values, all of which are used as is, no escaping.
XHProfRunsInterface::get_run public function
XHProfRunsInterface::save_run public function