Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
OpenXML document.
string
SCHEMA_RELATIONSHIP
= 'http://schemas.openxmlformats.org/package/2006/relationships'
Xml Schema - Relationships
string
SCHEMA_OFFICEDOCUMENT
= 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument'
Xml Schema - Office document
string
SCHEMA_COREPROPERTIES
= 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties'
Xml Schema - Core properties

__get(
string $offset
)
:
string
Proxy method for getFieldValue(), provides more convenient access to the string value of a field.
Inherited from: \Zend_Search_Lucene_Document::__get()Name | Type | Description |
---|---|---|
$offset | string |
Type | Description |
---|---|
string |

absoluteZipPath(
string $path
)
:
string
Determine absolute zip path
Name | Type | Description |
---|---|---|
$path | string |
Type | Description |
---|---|
string |

addField(
\Zend_Search_Lucene_Field $field
)
:
\Zend_Search_Lucene_Document
Add a field object to this document.
Inherited from: \Zend_Search_Lucene_Document::addField()Name | Type | Description |
---|---|---|
$field | \Zend_Search_Lucene_Field |
Type | Description |
---|---|
\Zend_Search_Lucene_Document |

extractMetaData(
\ZipArchive $package
)
:
array
Extract metadata from document
Name | Type | Description |
---|---|---|
$package | \ZipArchive | ZipArchive OpenXML package |
Type | Description |
---|---|
array | Key-value pairs containing document meta data |

getField(
string $fieldName
)
:
\Zend_Search_Lucene_Field
Returns Zend_Search_Lucene_Field object for a named field in this document.
Inherited from: \Zend_Search_Lucene_Document::getField()Name | Type | Description |
---|---|---|
$fieldName | string |
Type | Description |
---|---|
\Zend_Search_Lucene_Field |

getFieldNames(
)
:
array
Return an array with the names of the fields in this document.
Inherited from: \Zend_Search_Lucene_Document::getFieldNames()Type | Description |
---|---|
array |

getFieldUtf8Value(
$fieldName
)
:
string
Returns the string value of a named field in UTF-8 encoding.
Inherited from: \Zend_Search_Lucene_Document::getFieldUtf8Value()Name | Type | Description |
---|---|---|
$fieldName |
Type | Description |
---|---|
string |

getFieldValue(
$fieldName
)
:
string
Returns the string value of a named field in this document.
Inherited from: \Zend_Search_Lucene_Document::getFieldValue()Name | Type | Description |
---|---|---|
$fieldName |
Type | Description |
---|---|
string |