1 | <?php |
||
25 | class DocumentValue extends AbstractSingleValue implements RelationAwareInterface |
||
26 | { |
||
27 | use RelationAwareTrait; |
||
28 | |||
29 | /** |
||
30 | * Field name of the document object. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $documentField; |
||
35 | |||
36 | /** |
||
37 | * @var string |
||
38 | */ |
||
39 | protected $value; |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getDocumentField() |
||
48 | |||
49 | /** |
||
50 | * @param string $documentField |
||
51 | */ |
||
52 | public function setDocumentField($documentField) |
||
56 | |||
57 | /** |
||
58 | * Setter for field value. |
||
59 | * |
||
60 | * @param $value |
||
61 | * |
||
62 | * @return $this |
||
63 | */ |
||
64 | public function setValue($value) |
||
70 | |||
71 | /** |
||
72 | * @return string |
||
73 | */ |
||
74 | public function getValue() |
||
78 | |||
79 | /** |
||
80 | * {@inheritdoc} |
||
81 | */ |
||
82 | public function getState(Request $request) |
||
94 | |||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function modifySearch(Search $search, FilterState $state = null, SearchRequest $request = null) |
||
102 | } |
||
103 |