Function Hook_CMA->get_row
Definitions
sources/content.php
- Get a content row.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $content_id | ID_TEXT | No | No | required parameter | N/A | N/A | The content ID |
Returns
- The row (null: not found)
- Type: ?array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a content row.
*
* @param ID_TEXT $content_id The content ID
* @return ?array The row (null: not found)
*/
public function get_row(string $content_id) : ?array
* Get a content row.
*
* @param ID_TEXT $content_id The content ID
* @return ?array The row (null: not found)
*/
public function get_row(string $content_id) : ?array

