Function __global->cms_profile_end_for

Definitions

sources/global3.php

  • End a profiling block, for a specified identifier (of your own choosing - but you must have started it with cms_profile_start_for).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$identifier ID_TEXT No No required parameter N/A N/A Identifier
$specifics ?string No No Null N/A N/A Longer details of what happened (e.g. a specific SQL query that ran) (null: none provided)

Preview

Code (PHP)

/**
 * End a profiling block, for a specified identifier (of your own choosing - but you must have started it with cms_profile_start_for).
 *
 * @param  ID_TEXT $identifier Identifier
 * @param  ?string $specifics Longer details of what happened (e.g. a specific SQL query that ran) (null: none provided)
 */

function cms_profile_end_for(string $identifier, ?string $specifics = null)