Function __global->results_footer_row

Definitions

sources/templates_results_table.php

  • Get the Tempcode for a results table footer row. You would take the output of this, and feed it in as $footer_row, in a results_table function call.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$values array No No required parameter N/A N/A The array of field titles that footer the entries in the results table (a null value will increment the previous non-null column's colspan - do not use any nulls if there is no previous non-null column)
$guid string No No e5df01c02d364a45b3cc56551407123f N/A N/A GUID to pass to template

Returns

  • The generated footer row
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the Tempcode for a results table footer row. You would take the output of this, and feed it in as $footer_row, in a results_table function call.
 *
 * @param  array $values The array of field titles that footer the entries in the results table (a null value will increment the previous non-null column's colspan - do not use any nulls if there is no previous non-null column)
 * @param  string $guid GUID to pass to template
 * @return Tempcode The generated footer row
 */

function results_footer_row(array $values, string $guid = 'e5df01c02d364a45b3cc56551407123f') : object