ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
Pdf.php
Go to the documentation of this file.
1 <?php
2 
3 namespace GetId3\Module\Misc;
4 
6 
9 // available at http://getid3.sourceforge.net //
10 // or http://www.getid3.org //
12 // See readme.txt for more details //
14 // //
15 // module.misc.pdf.php //
16 // module for analyzing PDF files //
17 // dependencies: NONE //
18 // ///
20 
28 class Pdf extends BaseHandler
29 {
30 
35  public function analyze()
36  {
37  $info = &$this->getid3->info;
38 
39  $info['fileformat'] = 'pdf';
40 
41  $info['error'][] = 'PDF parsing not enabled in this version of GetId3Core() ['.$this->getid3->version().']';
42 
43  return false;
44 
45  }
46 
47 }
GetId3() by James Heinrich info@getid3.org //.
Definition: BaseHandler.php:25
$info
Definition: example_052.php:80
GetId3() by James Heinrich info@getid3.org //.
Definition: Pdf.php:28