equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Search_Lucene |
16 * @package Zend_Search_Lucene |
17 * @subpackage Document |
17 * @subpackage Document |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: Document.php 20096 2010-01-06 02:05:09Z bkarwin $ |
20 * @version $Id: Document.php 24593 2012-01-05 20:35:02Z matthew $ |
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 /** Zend_Search_Lucene_Field */ |
24 /** Zend_Search_Lucene_Field */ |
25 require_once 'Zend/Search/Lucene/Field.php'; |
25 require_once 'Zend/Search/Lucene/Field.php'; |
29 * A Document is a set of fields. Each field has a name and a textual value. |
29 * A Document is a set of fields. Each field has a name and a textual value. |
30 * |
30 * |
31 * @category Zend |
31 * @category Zend |
32 * @package Zend_Search_Lucene |
32 * @package Zend_Search_Lucene |
33 * @subpackage Document |
33 * @subpackage Document |
34 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
34 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
35 * @license http://framework.zend.com/license/new-bsd New BSD License |
35 * @license http://framework.zend.com/license/new-bsd New BSD License |
36 */ |
36 */ |
37 class Zend_Search_Lucene_Document |
37 class Zend_Search_Lucene_Document |
38 { |
38 { |
39 |
39 |
55 |
55 |
56 /** |
56 /** |
57 * Proxy method for getFieldValue(), provides more convenient access to |
57 * Proxy method for getFieldValue(), provides more convenient access to |
58 * the string value of a field. |
58 * the string value of a field. |
59 * |
59 * |
60 * @param $offset |
60 * @param string $offset |
61 * @return string |
61 * @return string |
62 */ |
62 */ |
63 public function __get($offset) |
63 public function __get($offset) |
64 { |
64 { |
65 return $this->getFieldValue($offset); |
65 return $this->getFieldValue($offset); |