Function __global->get_pts

Definitions

sources/notification_poller.php

  • Get PTs templating.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$max ?integer No No Null N/A N/A Number of PTs to show (null: no limit)
$start integer No No 0 N/A N/A Start offset

Returns

  • A pair: Templating, Max rows
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get PTs templating.
 *
 * @param  ?integer $max Number of PTs to show (null: no limit)
 * @param  integer $start Start offset
 * @return array A pair: Templating, Max rows
 */

function get_pts(?int $max = null, int $start = 0) : array