class StubLinker(BaseLinker): (source)
Method | __init__ |
Undocumented |
Method | file_object |
Turn a File object in a relative link or URI @implementation: must be implemented by child classes |
Method | img |
Returns an url for image file 'src' @implementation: must be implemented by child classes |
Method | link |
Returns an url for a link in a zim page This method is used to translate links of any type. |
Method | page_object |
Turn a Path object in a relative link or URI |
Method | resolve_source_file |
No summary |
Method | resource |
Return an url for template resources @implementation: must be implemented by child classes |
Instance Variable | source_dir |
Undocumented |
zim.formats.BaseLinker.file_object
File
object in a relative link or URIUnknown Field: implementation | |
must be implemented by child classes |
zim.formats.BaseLinker.img
Unknown Field: implementation | |
must be implemented by child classes |
zim.formats.BaseLinker.link
Parameters | |
link | link to be translated |
Returns | |
url, uri, or relative path context of this linker | |
Unknown Field: implementation | |
must be implemented by child classes |
Returns | |
a File object or None if no file was found | |
Unknown Field: implementation | |
must be implemented by child classes |
zim.formats.BaseLinker.resource
Unknown Field: implementation | |
must be implemented by child classes |