Function Resource_fs_base->is_file_type

Definitions

sources/resource_fs_base_class.php

  • Find whether a resource type is of a file-type.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$resource_type ID_TEXT No No required parameter N/A N/A The resource type

Returns

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

Preview

Code (PHP)

/**
 * Find whether a resource type is of a file-type.
 *
 * @param  ID_TEXT $resource_type The resource type
 * @return boolean Whether it is
 */

public function is_file_type(string $resource_type) : bool