Debug Class

Purpose

The Debug class contains all functions relating to Ditto’s implimentation of the MODx debug console

Summary
Debug ClassThe Debug class contains all functions relating to Ditto’s implimentation of the MODx debug console
Functions
render_linkRender the links to the debug console
render_popupRender the contents of the debug console
preparePrefetchCreate the content of the Prefetch tab
prepareFiltersCreate the content of the Filters tab
prepareDocumentInfoCreate the output for the Document Info tab
prepareBasicInfoCreate the outut for the Info ta
prepareTemplatesCreate the output for the Templates tab

Functions

render_link

function render_link($dittoID,
$ditto_base)

Render the links to the debug console

render_popup

function render_popup($ditto,
$ditto_base,
$ditto_version,
$ditto_params,
$IDs,
$fields,
$summarize,
$templates,
$orderBy,
$start,
$stop,
$total,
$filter,
$resource)

Render the contents of the debug console

preparePrefetch

function preparePrefetch($prefetch)

Create the content of the Prefetch tab

prepareFilters

function prepareFilters($filter)

Create the content of the Filters tab

prepareDocumentInfo

function prepareDocumentInfo($resource)

Create the output for the Document Info tab

prepareBasicInfo

function prepareBasicInfo($ditto,
$ditto_version,
$IDs,
$summarize,
$orderBy,
$start,
$stop,
$total)

Create the outut for the Info ta

prepareTemplates

function prepareTemplates($templates)

Create the output for the Templates tab

function render_link($dittoID,
$ditto_base)
Render the links to the debug console
function render_popup($ditto,
$ditto_base,
$ditto_version,
$ditto_params,
$IDs,
$fields,
$summarize,
$templates,
$orderBy,
$start,
$stop,
$total,
$filter,
$resource)
Render the contents of the debug console
function preparePrefetch($prefetch)
Create the content of the Prefetch tab
function prepareFilters($filter)
Create the content of the Filters tab
function prepareDocumentInfo($resource)
Create the output for the Document Info tab
function prepareBasicInfo($ditto,
$ditto_version,
$IDs,
$summarize,
$orderBy,
$start,
$stop,
$total)
Create the outut for the Info ta
function prepareTemplates($templates)
Create the output for the Templates tab