Function __global->_get_permission_product_save_map
Definitions
sources/ecommerce_permission_products.php
- Get the identifying database row map for a particular permission product for category access.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $resource_type | ID_TEXT | No | No | required parameter | N/A | N/A | Resource type |
| $category_id | ID_TEXT | No | No | required parameter | N/A | N/A | Category ID |
Returns
- Map
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the identifying database row map for a particular permission product for category access.
*
* @param ID_TEXT $resource_type Resource type
* @param ID_TEXT $category_id Category ID
* @return array Map
*/
function _get_permission_product_save_map(string $resource_type, string $category_id) : array
* Get the identifying database row map for a particular permission product for category access.
*
* @param ID_TEXT $resource_type Resource type
* @param ID_TEXT $category_id Category ID
* @return array Map
*/
function _get_permission_product_save_map(string $resource_type, string $category_id) : array

