Lines Matching refs:value

33      * @var string Name of single-value table
38 * @var string Name of multi-value table
43 * @var array Column names for the single-value insert/update
48 * @var array Input values for the single-value insert/update
53 * @var array Input values for the multi-value inserts/updates
193 * We differentiate between single-value-column and multi-value-column by the value to the respective column-name,
196 * @param array $data typelabel => value for single fields or typelabel => array(value, value, ...) for multi fields
210 foreach ($data as $colname => $value) {
216 if (is_array($value)) {
217 foreach ($value as $index => $multivalue) {
220 // copy first value to the single column
221 if (isset($value[0])) {
222 $this->singleValues[] = $value[0];
223 if ($value[0] === '') {
230 $this->singleValues[] = $value;
250 foreach ($this->multiValues as $value) {
253 array_merge($multiNoninputValues, $value)
285 * for single-value tables
292 * String template for single-value table
317 * Optional operations to be executed after saving data to single-value table,
343 * String template for multi-value table
351 * for multi-value tables
362 * @param null|bool $set new value, null to read only
363 * @return bool current value (after set)
374 * Get the value of a single column
382 foreach ($data as $value) {
383 if ($value->getColumn() == $column) {
384 return $value;
427 foreach ($data as $value) {
428 $key = $value->getColumn()->getFullQualifiedLabel();
429 $value = $value->getDisplayValue();
430 if (is_array($value)) $value = implode(', ', $value);
431 $result .= sprintf("% -20s : %s\n", $key, $value);
475 $value = new Value($col, $val);
477 if ($this->opt_skipempty && $value->isEmpty()) continue;
480 // for arrays, we return the raw value only
482 $data[$col->getLabel()] = $value->getRawValue();
484 $data[$col->getLabel()] = $value;
520 $col->getType()->select($QB, $tn, 'value', $outname);