mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-05 15:26:27 +00:00
23 lines
496 B
PHP
23 lines
496 B
PHP
|
<?php
|
||
|
|
||
|
abstract class ContentProvider{
|
||
|
/**
|
||
|
* Get the text data to be integrated in the MOBI file
|
||
|
* @return string
|
||
|
*/
|
||
|
public abstract function getTextData();
|
||
|
/**
|
||
|
* Get the images (an array containing the jpeg data). Array entry 0 will
|
||
|
* correspond to image record 0.
|
||
|
* @return array
|
||
|
*/
|
||
|
public abstract function getImages();
|
||
|
/**
|
||
|
* Get the metadata in the form of a hashtable (for example, title or author).
|
||
|
* @return array
|
||
|
*/
|
||
|
public abstract function getMetaData();
|
||
|
}
|
||
|
|
||
|
?>
|