Function __global->validate_special_cookie_prefix

Definitions

sources/minikernel.php

  • Ensure that if we are using a special cookie name prefix that we can actually do so, otherwise strip it.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
&$cookie_name ID_TEXT Yes No required parameter N/A N/A The name of the cookie (passed by reference; prefix will be stripped if it cannot be used)

Preview

Code (PHP)

/**
 * Ensure that if we are using a special cookie name prefix that we can actually do so, otherwise strip it.
 *
 * @param  ID_TEXT $cookie_name The name of the cookie (passed by reference; prefix will be stripped if it cannot be used)
 */

function validate_special_cookie_prefix(string &$cookie_name)
 

sources/users.php

  • Ensure that if we are using a special cookie name prefix that we can actually do so, otherwise strip it.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
&$cookie_name ID_TEXT Yes No required parameter N/A N/A The name of the cookie (passed by reference; prefix will be stripped if it cannot be used)

Preview

Code (PHP)

/**
 * Ensure that if we are using a special cookie name prefix that we can actually do so, otherwise strip it.
 *
 * @param  ID_TEXT $cookie_name The name of the cookie (passed by reference; prefix will be stripped if it cannot be used)
 */

function validate_special_cookie_prefix(string &$cookie_name)