Function Parental_controls_loader->generate_privacy_policy_positive

Definitions

sources/cns_parental_controls.php

  • Generate 'positive' items for the automatic Privacy Policy with the given control name.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name ID_TEXT No No required parameter N/A N/A The name of the control for which to generate info

Returns

  • Array of privacy policy maps
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Generate 'positive' items for the automatic Privacy Policy with the given control name.
 *
 * @param  ID_TEXT $name The name of the control for which to generate info
 * @return array Array of privacy policy maps
 */

public function generate_privacy_policy_positive(string $name) : array