Function Hook_commandr_fs_database->escape_name

Definitions

sources/hooks/systems/commandr_fs/database.php

  • Escape a value for use in a filesystem path.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$in string No No required parameter N/A N/A Value to escape (original value)

Returns

  • Escaped value
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Escape a value for use in a filesystem path.
 *
 * @param  string $in Value to escape (original value)
 * @return string Escaped value
 */

public function escape_name(string $in) : string