Function Hook_cron_catalogue_view_reports->info

Definitions

sources/hooks/systems/cron/catalogue_view_reports.php

  • Get info from this hook.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$last_run ?TIME No No required parameter N/A N/A Last time run (null: never)
$calculate_num_queued ?boolean No No required parameter N/A N/A Calculate the number of items queued, if possible (null: the hook may decide / low priority)

Returns

  • Return a map of info about the hook (null: disabled)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get info from this hook.
 *
 * @param  ?TIME $last_run Last time run (null: never)
 * @param  ?boolean $calculate_num_queued Calculate the number of items queued, if possible (null: the hook may decide / low priority)
 * @return ?array Return a map of info about the hook (null: disabled)
 */

public function info(?int $last_run, ?bool $calculate_num_queued) : ?array