Skip to the content
Documentation

exp:ezconvert2isbn13

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Convert ISBN-10 numbers to ISBN-13

Usage

./console exp:ezconvert2isbn13 [options]
php bin/php/ezconvert2isbn13.php [options]

Help

The output of ./console help exp:ezconvert2isbn13 (the script run with --help), without the standard options:

Usage: bin/php/ezconvert2isbn13.php [OPTION]...
Exponential ISBN-10 to ISBN-13 converter

Converts an ISBN-10 number to ISBN-13



Options:
  --class-id=VALUE      The class id for the ISBN attribute.
  --attribute-id=VALUE  The attribute id for the ISBN attribute which should be converted.
  --all-classes         Will convert all ISBN attributes in all content classes.
  -f                    Short alias for force.
  --force               Will convert all attributes even if the class is set to ISBN.

Options

Option Value Description
--class-id required The class id for the ISBN attribute.
--attribute-id required The attribute id for the ISBN attribute which should be converted.
--all-classes - Will convert all ISBN attributes in all content classes.
-f - Short alias for force.
--force - Will convert all attributes even if the class is set to ISBN.

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/ezconvert2isbn13.php, kernel/private/classes/commands/ezconvert2isbn13.php

See also

Generated example: exp:ezconvert2isbn13

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.