Function __global->columned_table_row

Definitions

sources/templates_columned_table.php

  • Get the Tempcode for a table row.
  • 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 values that make up this row (each is a plain-text string or HTML Tempcode)
$auto_escape boolean No No required parameter N/A N/A Whether to automatically escape each plain-text entry so that it cannot contain HTML (ignored for Tempcode values)

Returns

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

Preview

Code (PHP)

/**
 * Get the Tempcode for a table row.
 *
 * @param  array $values The array of values that make up this row (each is a plain-text string or HTML Tempcode)
 * @param  boolean $auto_escape Whether to automatically escape each plain-text entry so that it cannot contain HTML (ignored for Tempcode values)
 * @return Tempcode The generated row
 */

function columned_table_row(array $values, bool $auto_escape) : object