]>
Commit | Line | Data |
---|---|---|
4188f38a | 1 | <?php |
2 | ||
3 | abstract class ContentProvider{ | |
4 | /** | |
5 | * Get the text data to be integrated in the MOBI file | |
6 | * @return string | |
7 | */ | |
8 | public abstract function getTextData(); | |
9 | /** | |
10 | * Get the images (an array containing the jpeg data). Array entry 0 will | |
11 | * correspond to image record 0. | |
12 | * @return array | |
13 | */ | |
14 | public abstract function getImages(); | |
15 | /** | |
16 | * Get the metadata in the form of a hashtable (for example, title or author). | |
17 | * @return array | |
18 | */ | |
19 | public abstract function getMetaData(); | |
20 | } | |
21 | ||
22 | ?> |