Function Hook_rss_cns_polls->run

Definitions

sources/hooks/systems/rss/cns_polls.php

  • Run function for RSS hooks.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$_filters string required parameter N/A N/A A list of categories we accept from
$cutoff TIME required parameter N/A N/A Cutoff time, before which we do not show results from
$prefix string required parameter N/A N/A Prefix that represents the template set we use
$date_string string required parameter N/A N/A The standard format of date to use for the syndication type represented in the prefix
$max integer required parameter N/A N/A The maximum number of entries to return, ordering by date

Return

  • A pair: The main syndication section, and a title (null: error)
  • Type: ?array
  • Set: N/A
  • Range: N/A