public function TocFormatterInterface::convertNumberToRomanNumeral in TOC API 8
Convert a number to a roman numeral.
References
- Convert Numbers To Roman Numerals http://www.phpro.org/examples/Convert-Numbers-To-Roman-Numerals.html
Parameters
int $number: A number.
Return value
string The number converted to a roman numeral.
1 method overrides TocFormatterInterface::convertNumberToRomanNumeral()
- TocFormatter::convertNumberToRomanNumeral in src/
TocFormatter.php - Convert a number to a roman numeral.
File
- src/
TocFormatterInterface.php, line 61
Class
- TocFormatterInterface
- Provides an interface defining a TOC formatter.
Namespace
Drupal\toc_apiCode
public function convertNumberToRomanNumeral($number);