Function __global->dispatch_news_notification
Definitions
sources/news2.php
- Send out a notification of some new news.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $id | AUTO_LINK | No | No | required parameter | N/A | N/A | The ID of the news |
| $title | SHORT_TEXT | No | No | required parameter | N/A | N/A | The title |
| $main_news_category | AUTO_LINK | No | No | required parameter | N/A | N/A | The main news category |
Preview
Code (PHP)
/**
* Send out a notification of some new news.
*
* @param AUTO_LINK $id The ID of the news
* @param SHORT_TEXT $title The title
* @param AUTO_LINK $main_news_category The main news category
*/
function dispatch_news_notification(int $id, string $title, int $main_news_category)
* Send out a notification of some new news.
*
* @param AUTO_LINK $id The ID of the news
* @param SHORT_TEXT $title The title
* @param AUTO_LINK $main_news_category The main news category
*/
function dispatch_news_notification(int $id, string $title, int $main_news_category)

