Function Hook_whatsnew_comcode_pages->choose_categories
Definitions
sources/hooks/modules/admin_newsletter/comcode_pages.php
- Find selectable (filterable) categories.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $updated_since | TIME | No | No | required parameter | N/A | N/A | The time that there must be entries found newer than |
Returns
- Tuple of result details: HTML list of all types that can be chosen, title for selection list (null: disabled)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find selectable (filterable) categories.
*
* @param TIME $updated_since The time that there must be entries found newer than
* @return ?array Tuple of result details: HTML list of all types that can be chosen, title for selection list (null: disabled)
*/
public function choose_categories(int $updated_since) : ?array
* Find selectable (filterable) categories.
*
* @param TIME $updated_since The time that there must be entries found newer than
* @return ?array Tuple of result details: HTML list of all types that can be chosen, title for selection list (null: disabled)
*/
public function choose_categories(int $updated_since) : ?array

