Blame view

sources/3rdparty/getid3/module.misc.pdf.php 1.11 KB
03e52840d   Kload   Init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <?php
  /////////////////////////////////////////////////////////////////
  /// getID3() by James Heinrich <info@getid3.org>               //
  //  available at http://getid3.sourceforge.net                 //
  //            or http://www.getid3.org                         //
  /////////////////////////////////////////////////////////////////
  // See readme.txt for more details                             //
  /////////////////////////////////////////////////////////////////
  //                                                             //
  // module.misc.pdf.php                                         //
  // module for analyzing PDF files                              //
  // dependencies: NONE                                          //
  //                                                            ///
  /////////////////////////////////////////////////////////////////
  
  
  class getid3_pdf extends getid3_handler
  {
31b7f2792   Kload   Upgrade to ownclo...
19
  	public function Analyze() {
03e52840d   Kload   Init
20
21
22
23
24
25
26
27
28
29
  		$info = &$this->getid3->info;
  
  		$info['fileformat'] = 'pdf';
  
  		$info['error'][] = 'PDF parsing not enabled in this version of getID3() ['.$this->getid3->version().']';
  		return false;
  
  	}
  
  }