import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -17,13 +17,14 @@
|
||||
* @subpackage Document
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: OpenXml.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: OpenXml.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
|
||||
/** Zend_Search_Lucene_Document */
|
||||
require_once 'Zend/Search/Lucene/Document.php';
|
||||
|
||||
|
||||
if (class_exists('ZipArchive', false)) {
|
||||
|
||||
/**
|
||||
@ -82,7 +83,7 @@ abstract class Zend_Search_Lucene_Document_OpenXml extends Zend_Search_Lucene_Do
|
||||
{
|
||||
// Data holders
|
||||
$coreProperties = array();
|
||||
|
||||
|
||||
// Read relations and search for core properties
|
||||
$relations = simplexml_load_string($package->getFromName("_rels/.rels"));
|
||||
foreach ($relations->Relationship as $rel) {
|
||||
@ -103,10 +104,10 @@ abstract class Zend_Search_Lucene_Document_OpenXml extends Zend_Search_Lucene_Do
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return $coreProperties;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Determine absolute zip path
|
||||
*
|
||||
|
Reference in New Issue
Block a user