Beta version

class DomHandler

Description.

Methods

static array
getExternalStylesFiles(string $dom)

Extract stylesheet filenames from an HTML string.

static string
getExternalStyles(string $dom)

Get CSS code from existing stylesheet files in HTML code.

static string
replaceExternalStylesheetsWithStyle(string $dom, string $style)

Replace all external stylesheet tags with a single