PHP Класс Pressbooks\Modules\Export\InDesign\Icml

Наследование: extends Pressbooks\Modules\Export\Export
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( array $args )
convert ( ) : boolean Create $this->outputPath
hasDependencies ( ) : boolean Dependency check.
logError ( $message, array $more_info = [] ) Add $this->outputPath as additional log info, fallback to parent.
validate ( ) : boolean Check the sanity of $this->outputPath

Защищенные методы

Метод Описание
bookHtmlError ( $book_html ) : string Log problems with $book_html that probably caused transformXML() to fail.
preProcessBookContents ( $book_contents ) : mixed
preProcessPostContent ( string $content ) : string
tidy ( string $html ) : string Tidy HTML

Описание методов

__construct() публичный метод

public __construct ( array $args )
$args array

bookHtmlError() защищенный метод

Log problems with $book_html that probably caused transformXML() to fail.
protected bookHtmlError ( $book_html ) : string
$book_html
Результат string

convert() публичный метод

Create $this->outputPath
public convert ( ) : boolean
Результат boolean

hasDependencies() статический публичный метод

Dependency check.
static public hasDependencies ( ) : boolean
Результат boolean

logError() публичный метод

Add $this->outputPath as additional log info, fallback to parent.
public logError ( $message, array $more_info = [] )
$message
$more_info array (unused, overridden)

preProcessBookContents() защищенный метод

protected preProcessBookContents ( $book_contents ) : mixed
$book_contents
Результат mixed

preProcessPostContent() защищенный метод

protected preProcessPostContent ( string $content ) : string
$content string
Результат string

tidy() защищенный метод

Tidy HTML
protected tidy ( string $html ) : string
$html string
Результат string

validate() публичный метод

Check the sanity of $this->outputPath
public validate ( ) : boolean
Результат boolean