Function __global->get_notification_code_db
Definitions
sources/notifications.php
- Return the database driver responsible for a given notification code.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $notification_code | ID_TEXT | No | No | required parameter | N/A | N/A | The notification code |
Returns
- The database driver responsible for the notification code
- Type: object
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Return the database driver responsible for a given notification code.
*
* @param ID_TEXT $notification_code The notification code
* @return object The database driver responsible for the notification code
*/
function get_notification_code_db(string $notification_code) : object
* Return the database driver responsible for a given notification code.
*
* @param ID_TEXT $notification_code The notification code
* @return object The database driver responsible for the notification code
*/
function get_notification_code_db(string $notification_code) : object
