@@ -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 | $out = array (); |
157 | 160 | $result = parent::getDb ()->prepare('select id, format, name |
@@ -165,6 +168,9 @@ discard block |
||
165 | 168 | return $out; |
166 | 169 | } |
167 | 170 | |
171 | + /** |
|
172 | + * @param string $urlParam |
|
173 | + */ |
|
168 | 174 | public static function handleThumbnailLink ($urlParam, $height) { |
169 | 175 | global $config; |
170 | 176 | |
@@ -184,6 +190,10 @@ discard block |
||
184 | 190 | return $urlParam; |
185 | 191 | } |
186 | 192 | |
193 | + /** |
|
194 | + * @param string $type |
|
195 | + * @param string $filename |
|
196 | + */ |
|
187 | 197 | public static function getLink ($book, $type, $mime, $rel, $filename, $idData, $title = NULL, $height = NULL, $view = false) |
188 | 198 | { |
189 | 199 | global $config; |