Function Hook_ecommerce_permission->_get_map

Definitions

sources/hooks/systems/ecommerce/permission.php

  • Get a database map for our permission row.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$row array No No required parameter N/A N/A Map row of product
$member_id MEMBER No No required parameter N/A N/A The member it is for

Returns

  • Permission map row
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get a database map for our permission row.
 *
 * @param  array $row Map row of product
 * @param  MEMBER $member_id The member it is for
 * @return array Permission map row
 */

protected function _get_map(array $row, int $member_id) : array