Function Hook_fields_isbn->is_valid_isbn

Definitions

sources/hooks/systems/fields/isbn.php

  • Check if a provided code is valid ISBN-10 or ISBN-13.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$isbn string required parameter N/A N/A The ISBN code to check

Return

  • Whether the ISBN code is valid
  • Type: boolean
  • Set: N/A
  • Range: N/A