Lines Matching refs:this

29     /** @var bool is this a raw value only? */
40 $this->column = $column;
41 $this->setValue($value);
49 return $this->column;
57 if ($this->rawonly) {
60 return $this->value;
70 return $this->rawvalue;
80 if ($this->rawonly) {
83 return $this->display;
93 if ($this->rawonly) {
96 return $this->compare;
109 $this->rawonly = $israw;
117 $this->value = [];
118 $this->rawvalue = [];
119 $this->display = [];
120 $this->compare = [];
127 $raw = $this->column->getType()->rawValue($val);
130 $this->value[] = $val;
131 $this->rawvalue[] = $raw;
133 $this->display[] = $val;
134 $this->compare[] = $val;
136 $this->display[] = $this->column->getType()->displayValue($val);
137 $this->compare[] = $this->column->getType()->compareValue($val);
142 if (!$this->column->isMulti()) {
143 $this->value = (string)array_shift($this->value);
144 $this->rawvalue = (string)array_shift($this->rawvalue);
145 $this->display = (string)array_shift($this->display);
146 $this->compare = (string)array_shift($this->compare);
151 * Is this empty?
157 return ($this->rawvalue === '' || $this->rawvalue === []);
173 if ($this->column->isMulti()) {
174 if (count($this->value)) {
175 return $this->column->getType()->renderMultiValue($this->value, $R, $mode);
177 } elseif ($this->value !== '') {
178 return $this->column->getType()->renderValue($this->value, $R, $mode);
184 * Render this value as a tag-link in a struct cloud
195 $value = is_array($this->value) ? $this->value[0] : $this->value;
196 $this->column->getType()->renderTagCloudLink($value, $R, $mode, $page, $filterQuery, $weight, $showCount);
200 * Return the value editor for this value field
207 if ($this->column->isMulti()) {
208 return $this->column->getType()->multiValueEditor($name, $this->rawvalue, $id);
210 return $this->column->getType()->valueEditor($name, $this->rawvalue, $id);
226 * Get a string representation of this value
232 return '[' . $this->getColumn()->getFullQualifiedLabel() . '] ' .
233 implode(',', (array)$this->getRawValue());