aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/libraries/MOBIClass/ContentProvider.php
blob: dcf9c4de9073388cf9ff33d92588fe4cf407f7c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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();
}

?>