Function Hook_CMA->get_id
Definitions
sources/content.php
- Get an ID for a content row. If there are multiple IDs, then they are colon-separated.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $row | array | No | No | required parameter | N/A | N/A | The database row for the content |
Returns
- ID
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get an ID for a content row. If there are multiple IDs, then they are colon-separated.
*
* @param array $row The database row for the content
* @return string ID
*/
public function get_id(array $row) : string
* Get an ID for a content row. If there are multiple IDs, then they are colon-separated.
*
* @param array $row The database row for the content
* @return string ID
*/
public function get_id(array $row) : string

