Свойство | Тип | Описание | |
---|---|---|---|
$MathMLTags | array | MathML Tags | |
$dir | $var string | ||
$fetchedMediaCache | array | ||
$filext | string | ||
$javaScriptEvents | array | JavaScript Events | |
$suffix | $var string | ||
$supportedFontExtensions | string | Regular expression for supported fonts (used in /($supportedFontExtensions)/i') |
Метод | Описание | |
---|---|---|
convert ( ) : boolean | Create $this->outputPath |
Метод | Описание | |
---|---|---|
createNCX ( array $book_contents, array $metadata ) | Create NCX file. | |
createOPF ( array $book_contents, array $metadata ) | Create OPF File. | |
fetchAndSaveUniqueMedia ( string $url, string $fullpath ) : string | array | Fetch a url with wp_remote_get(), save it to $fullpath with a unique name. | |
getProperties ( string $html_file ) : array | Check for existence of properties attributes | |
isMathML ( string $html ) : boolean | Check for existence of scripting MathML elements | |
isScripted ( string $html ) : boolean | Check for existence of scripting elements | |
loadTemplate ( string $path, array $vars = [] ) : string | Override load template function Switch path from /epub201 to /epub3 when possible. | |
scrapeAndKneadMedia ( DOMDocument $doc ) : DOMDocument | Parse HTML snippet, download all found | |
tidy ( string $html ) : string | Tidy HTML |
protected getProperties ( string $html_file ) : array | ||
$html_file | string | |
Результат | array | $properties |
protected isScripted ( string $html ) : boolean | ||
$html | string | |
Результат | boolean |
protected scrapeAndKneadMedia ( DOMDocument $doc ) : DOMDocument | ||
$doc | DOMDocument | |
Результат | DOMDocument |
protected array $javaScriptEvents | ||
Результат | array |
protected string $supportedFontExtensions | ||
Результат | string |