Zend Framework  1.12
Public Attributes | Protected Member Functions | List of all members
Zend_Search_Lucene_Document_OpenXml Class Reference

Public Attributes

const SCHEMA_RELATIONSHIP = 'http://schemas.openxmlformats.org/package/2006/relationships'
 
const SCHEMA_OFFICEDOCUMENT = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument'
 
const SCHEMA_COREPROPERTIES = 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties'
 
const SCHEMA_DUBLINCORE = 'http://purl.org/dc/elements/1.1/'
 
const SCHEMA_DUBLINCORETERMS = 'http://purl.org/dc/terms/'
 
- Public Attributes inherited from Zend_Search_Lucene_Document
 $boost = 1.0
 

Protected Member Functions

 extractMetaData (ZipArchive $package)
 Extract metadata from document.
 
 absoluteZipPath ($path)
 Determine absolute zip path.
 

Additional Inherited Members

- Public Member Functions inherited from Zend_Search_Lucene_Document
 __get ($offset)
 Proxy method for getFieldValue(), provides more convenient access to the string value of a field.
 
 addField (Zend_Search_Lucene_Field $field)
 Add a field object to this document.
 
 getFieldNames ()
 Return an array with the names of the fields in this document.
 
 getField ($fieldName)
 Returns Zend_Search_Lucene_Field object for a named field in this document.
 
 getFieldValue ($fieldName)
 Returns the string value of a named field in this document.
 
 getFieldUtf8Value ($fieldName)
 Returns the string value of a named field in UTF-8 encoding.
 
- Protected Attributes inherited from Zend_Search_Lucene_Document
 $_fields = array()
 

Member Function Documentation

absoluteZipPath (   $path)
protected

Determine absolute zip path.

Parameters
string$path
Returns
string
extractMetaData ( ZipArchive  $package)
protected

Extract metadata from document.

Parameters
ZipArchive$packageZipArchive OpenXML package
Returns
array Key-value pairs containing document meta data

Member Data Documentation

const SCHEMA_COREPROPERTIES = 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties'
const SCHEMA_DUBLINCORE = 'http://purl.org/dc/elements/1.1/'
const SCHEMA_DUBLINCORETERMS = 'http://purl.org/dc/terms/'
const SCHEMA_OFFICEDOCUMENT = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument'
const SCHEMA_RELATIONSHIP = 'http://schemas.openxmlformats.org/package/2006/relationships'