c6896a69f40518e4ba54e68ec47065dad1d399c3
[lhc/web/www.git] / www / plugins-dist / medias / lib / getid3 / module.misc.pdf.php
1 <?php
2
3 /////////////////////////////////////////////////////////////////
4 /// getID3() by James Heinrich <info@getid3.org> //
5 // available at https://github.com/JamesHeinrich/getID3 //
6 // or https://www.getid3.org //
7 // or http://getid3.sourceforge.net //
8 // see readme.txt for more details //
9 /////////////////////////////////////////////////////////////////
10 // //
11 // module.misc.pdf.php //
12 // module for analyzing PDF files //
13 // dependencies: NONE //
14 // ///
15 /////////////////////////////////////////////////////////////////
16
17
18 class getid3_pdf extends getid3_handler
19 {
20 /**
21 * @return bool
22 */
23 public function Analyze() {
24 $info = &$this->getid3->info;
25
26 $info['fileformat'] = 'pdf';
27
28 $this->error('PDF parsing not enabled in this version of getID3() ['.$this->getid3->version().']');
29 return false;
30
31 }
32
33 }