Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
PhpOffice\PhpSpreadsheet\Helper\Html Class Reference

Public Member Functions

 addEndTagCallback (string $tag, callable $callback)
 
 addStartTagCallback (string $tag, callable $callback)
 
 breakTag ()
 
 toRichTextObject (string $html, bool $preserveWhiteSpace=false)
 Parse HTML formatting and return the resulting RichText.
 

Static Public Member Functions

static colourNameLookup (string $colorName)
 

Public Attributes

string $stringData = ''
 

Protected Member Functions

 endBoldTag ()
 
 endFontTag ()
 
 endItalicTag ()
 
 endStrikethruTag ()
 
 endSubscriptTag ()
 
 endSuperscriptTag ()
 
 endUnderlineTag ()
 
 startBoldTag ()
 
 startFontTag (DOMElement $tag)
 
 startItalicTag ()
 
 startStrikethruTag ()
 
 startSubscriptTag ()
 
 startSuperscriptTag ()
 
 startUnderlineTag ()
 

Protected Attributes

callable[] array $endTagCallbacks
 
callable[] file home runner work phpdoc phpdoc moodle lib phpspreadsheet phpspreadsheet src PhpSpreadsheet Helper Html php array $startTagCallbacks
 
const COLOUR_MAP
 

The documentation for this class was generated from the following file: