aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/libraries/MOBIClass/ContentProvider.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2014-12-22 14:33:01 +0100
committerThomas Citharel <tcit@tcit.fr>2014-12-22 14:33:01 +0100
commitf3917b1ee4bba812e82da57dd181f50d62926db4 (patch)
treecb4b04931e97e4a69500bf9d7aa5c21985cab59e /inc/3rdparty/libraries/MOBIClass/ContentProvider.php
parent311baf86befde0557faea614ca4d13bb2bd2cc66 (diff)
parent9254b6cf460edec3a59e9ccc19873481a1d19c90 (diff)
downloadwallabag-f3917b1ee4bba812e82da57dd181f50d62926db4.tar.gz
wallabag-f3917b1ee4bba812e82da57dd181f50d62926db4.tar.zst
wallabag-f3917b1ee4bba812e82da57dd181f50d62926db4.zip
Merge branch 'dev' into randomarticle
Diffstat (limited to 'inc/3rdparty/libraries/MOBIClass/ContentProvider.php')
-rw-r--r--inc/3rdparty/libraries/MOBIClass/ContentProvider.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/inc/3rdparty/libraries/MOBIClass/ContentProvider.php b/inc/3rdparty/libraries/MOBIClass/ContentProvider.php
new file mode 100644
index 00000000..dcf9c4de
--- /dev/null
+++ b/inc/3rdparty/libraries/MOBIClass/ContentProvider.php
@@ -0,0 +1,22 @@
1<?php
2
3abstract 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?>