@@ -152,6 +152,9 @@ discard block |
||
| 152 | 152 | return new Link ($href, $this->getMimeType (), Link::OPDS_ACQUISITION_TYPE, $title); |
| 153 | 153 | } |
| 154 | 154 | |
| 155 | + /** |
|
| 156 | + * @param Book $book |
|
| 157 | + */ |
|
| 155 | 158 | public static function getDataByBook ($book) { |
| 156 | 159 | global $config; |
| 157 | 160 | |
@@ -176,6 +179,9 @@ discard block |
||
| 176 | 179 | return $out; |
| 177 | 180 | } |
| 178 | 181 | |
| 182 | + /** |
|
| 183 | + * @param string $urlParam |
|
| 184 | + */ |
|
| 179 | 185 | public static function handleThumbnailLink ($urlParam, $height) { |
| 180 | 186 | global $config; |
| 181 | 187 | |
@@ -195,6 +201,10 @@ discard block |
||
| 195 | 201 | return $urlParam; |
| 196 | 202 | } |
| 197 | 203 | |
| 204 | + /** |
|
| 205 | + * @param string $type |
|
| 206 | + * @param string $filename |
|
| 207 | + */ |
|
| 198 | 208 | public static function getLink ($book, $type, $mime, $rel, $filename, $idData, $title = NULL, $height = NULL, $view = false) |
| 199 | 209 | { |
| 200 | 210 | global $config; |