Moodle  2.2.1
http://www.collinsharper.com
xhprof_table_sql Class Reference
Inheritance diagram for xhprof_table_sql:
Collaboration diagram for xhprof_table_sql:

Public Member Functions

 get_row_class ($row)
 set_listurlmode ($listurlmode)

Protected Member Functions

 col_url ($row)
 col_timecreated ($row)
 col_totalexecutiontime ($row)
 col_totalcputime ($row)
 col_totalmemory ($row)

Protected Attributes

 $listurlmode = false

Detailed Description

Simple subclass of table_sql that provides some custom formatters for various columns, in order to make the main profiles list nicer

Definition at line 512 of file xhprof_moodle.php.


Member Function Documentation

col_timecreated ( row) [protected]

Format profiling date, human and pointing to run

Definition at line 557 of file xhprof_moodle.php.

Here is the call graph for this function:

col_totalcputime ( row) [protected]

Format cpu time

Definition at line 574 of file xhprof_moodle.php.

Here is the call graph for this function:

col_totalexecutiontime ( row) [protected]

Format execution time

Definition at line 567 of file xhprof_moodle.php.

Here is the call graph for this function:

col_totalmemory ( row) [protected]

Format memory

Definition at line 581 of file xhprof_moodle.php.

Here is the call graph for this function:

col_url ( row) [protected]

Format URL, so it points to last run for that url

Definition at line 534 of file xhprof_moodle.php.

get_row_class ( row)

Get row classes to be applied based on row contents

Reimplemented from table_sql.

Definition at line 519 of file xhprof_moodle.php.

set_listurlmode ( listurlmode)

Define it the table is in listurlmode or not, output will be different based on that

Definition at line 527 of file xhprof_moodle.php.


Field Documentation

$listurlmode = false [protected]

Definition at line 514 of file xhprof_moodle.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations