Function __global->cns_get_warnings
Definitions
sources/cns_warnings.php
- Get all the warning and warnings_punitive rows for a certain member.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | The member |
Returns
- The warning rows
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get all the warning and warnings_punitive rows for a certain member.
*
* @param MEMBER $member_id The member
* @return array The warning rows
*/
function cns_get_warnings(int $member_id) : array
* Get all the warning and warnings_punitive rows for a certain member.
*
* @param MEMBER $member_id The member
* @return array The warning rows
*/
function cns_get_warnings(int $member_id) : array

