Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

(no description)

File Size: 254 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: StyleRegistry  - X-Ref


registerStyle(Style $style)   X-Ref
XLSX specific operations on the registered styles.


getFormatIdForStyleId(int $styleId)   X-Ref

return: null|int Format ID associated to the given style ID

getFillIdForStyleId(int $styleId)   X-Ref

return: null|int Fill ID associated to the given style ID

getBorderIdForStyleId(int $styleId)   X-Ref

return: null|int Fill ID associated to the given style ID

getRegisteredFills()   X-Ref

return: array<string, int>

getRegisteredBorders()   X-Ref

return: array<string, int>

getRegisteredFormats()   X-Ref

return: array<string, int>

registerFormat(Style $style)   X-Ref
Register a format definition.


registerFill(Style $style)   X-Ref
Register a fill definition.


registerBorder(Style $style)   X-Ref
Register a border definition.