PHP Class Pressbooks\Modules\Export\InDesign\Icml

Inheritance: extends Pressbooks\Modules\Export\Export
Afficher le fichier Open project: pressbooks/pressbooks Class Usage Examples

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
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

Method Details

__construct() public méthode

public __construct ( array $args )
$args array

bookHtmlError() protected méthode

Log problems with $book_html that probably caused transformXML() to fail.
protected bookHtmlError ( $book_html ) : string
$book_html
Résultat string

convert() public méthode

Create $this->outputPath
public convert ( ) : boolean
Résultat boolean

hasDependencies() static public méthode

Dependency check.
static public hasDependencies ( ) : boolean
Résultat boolean

logError() public méthode

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

preProcessBookContents() protected méthode

protected preProcessBookContents ( $book_contents ) : mixed
$book_contents
Résultat mixed

preProcessPostContent() protected méthode

protected preProcessPostContent ( string $content ) : string
$content string
Résultat string

tidy() protected méthode

Tidy HTML
protected tidy ( string $html ) : string
$html string
Résultat string

validate() public méthode

Check the sanity of $this->outputPath
public validate ( ) : boolean
Résultat boolean