Function Hook_whatsnew_catalogues->run
Definitions
sources/hooks/modules/admin_newsletter/catalogues.php
- Run function for newsletter hooks.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $cutoff_time | TIME | No | No | required parameter | N/A | N/A | The time that the entries found must be newer than |
| $lang | LANGUAGE_NAME | No | No | required parameter | N/A | N/A | The language the entries found must be in |
| $filter | string | No | No | required parameter | N/A | N/A | Category filter to apply |
Returns
- Tuple of result details
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Run function for newsletter hooks.
*
* @param TIME $cutoff_time The time that the entries found must be newer than
* @param LANGUAGE_NAME $lang The language the entries found must be in
* @param string $filter Category filter to apply
* @return array Tuple of result details
*/
public function run(int $cutoff_time, string $lang, string $filter) : array
* Run function for newsletter hooks.
*
* @param TIME $cutoff_time The time that the entries found must be newer than
* @param LANGUAGE_NAME $lang The language the entries found must be in
* @param string $filter Category filter to apply
* @return array Tuple of result details
*/
public function run(int $cutoff_time, string $lang, string $filter) : array

