Свойство | Тип | Описание | |
---|---|---|---|
$compressImages | boolean | Compress images? | |
$logfile | string | Fullpath to log file used by Saxon. | |
$timeout | integer | Used with wp_remote_get() | |
$url | string | Service URL |
Метод | Описание | |
---|---|---|
__construct ( array $args ) | ||
convert ( ) : boolean | Create $this->outputPath | |
deleteDirectory ( $dirpath ) | * Recursive Directory Deletion for media folder | |
hasDependencies ( ) : boolean | Dependency check. | |
logError ( $message, array $more_info = [] ) | Add $this->url as additional log info, fallback to parent. | |
validate ( ) : boolean | Check the sanity of $this->outputPath |
Метод | Описание | |
---|---|---|
fetchAndSaveUniqueImage ( $url, $fullpath ) : string | Fetch an image with wp_remote_get(), save it to $fullpath with a unique name. | |
isOdt ( string $file ) : boolean | Verify if body is actual ODT | |
queryXhtml ( ) : boolean | string | Query the access protected "format/xhtml" URL, return the results. |
public static deleteDirectory ( $dirpath ) |
protected fetchAndSaveUniqueImage ( $url, $fullpath ) : string | ||
$url | string | |
$fullpath | string | |
Результат | string | filename |
static public hasDependencies ( ) : boolean | ||
Результат | boolean |
protected queryXhtml ( ) : boolean | string | ||
Результат | boolean | string |
public string $logfile | ||
Результат | string |