Grasenhiller\WkHtmlToX\WkFile
Synopsis
class WkFile
{
- // methods
- public void __construct()
- public void autoSetProxy()
- public void autoSetBinary()
- public void autoSetBasicAuth()
- protected string generateValidFileName()
- protected mixed createFile()
- public void setFolder()
- public mixed getFolder()
- public string getServerPath()
- public static DBHTMLText get_html()
- public static mixed replace_img_paths()
- public array getOptions()
- public void setOptions()
- public mixed getOption()
- public void setOption()
- public void removeOption()
- public void removeOptions()
- protected void handleError()
- public void handleMissingYmlConfig()
Tasks
Line | Task |
---|---|
290 | if dev or test output with print_r, else log |
311 | if dev or test output with print_r, else log |
Members
protected
- $folder
- $options
Methods
protected
- createFile()
- generateValidFileName()
- handleError() — Output the error
public
- __construct()
- autoSetBasicAuth() — Set the basic auth credentials if defined in the environment
- autoSetBinary() — Set the binary if defined in the environment
- autoSetProxy() — Set the proxy if defined in the environment and bypass proxy for own site
- getFolder()
- getOption()
- getOptions()
- getServerPath()
- get_html()
- handleMissingYmlConfig()
- removeOption()
- removeOptions()
- replace_img_paths() — Replace all relative image paths with absolute ones
- setFolder()
- setOption() — Overwrite an existing or set a new option
- setOptions() — Overwrite all options with the given ones