Function CMSPermissionsScanner->filtered

Definitions

sources/file_permissions_check.php

  • Find out whether a directory will be filtered out from checks.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$rel_path PATH No No required parameter N/A N/A The relative path to the base directory

Returns

  • Whether it is filtered
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find out whether a directory will be filtered out from checks.
 *
 * @param  PATH $rel_path The relative path to the base directory
 * @return boolean Whether it is filtered
 */

protected function filtered(string $rel_path) : bool