Lines Matching refs:column
21 /** @var Column caches the referenced column */
22 protected $column;
39 * Get the configured loojup column
45 if ($this->column instanceof Column) return $this->column;
46 $this->column = $this->getColumn($this->config['schema'], $this->config['field']);
47 return $this->column;
51 * Gets the given column, applies language place holder
70 $column = $table->findColumn($field);
71 if (!$column) {
73 $column = $table->findColumn($field);
75 if (!$column) {
77 $column = new PageColumn(0, new Page(), $table);
80 $column = new PageColumn(0, new Page(['usetitles' => true]), $table);
83 $column = new RevisionColumn(0, new DateTime(), $table);
86 $column = new UserColumn(0, new User(), $table);
92 $column = new RowColumn(0, new Decimal(), $table);
95 if (!$column) {
101 if ($column->isMulti()) {
107 return $column;
118 $column = $this->getLookupColumn();
119 if (!$column) return [];
120 $field = $column->getLabel();
152 $column = $this->getLookupColumn();
153 if (!$column) return false;
154 return $column->getType()->renderValue($value, $R, $mode);
174 $column = $this->getLookupColumn();
175 if (!$column) return false;
176 return $column->getType()->renderMultiValue($values, $R, $mode);
196 $column = $this->getLookupColumn();
197 if ($column) {
198 return $column->getType()->displayValue($value);
205 * This is the value to be used as argument to a filter for another column.
216 $column = $this->getLookupColumn();
217 if ($column) {
218 return $column->getType()->rawValue($value);
236 $column = $this->getLookupColumn();
237 if (!$column) {
242 $field = $column->getColName();
252 $column->getType()->select($QB, $rightalias, $field, $alias);
270 $column = $this->getLookupColumn();
271 if (!$column) {
275 $field = $column->getColName();
287 $column->getType()->filter($add, $rightalias, $field, $comp, $value, $op);
301 $column = $this->getLookupColumn();
302 if (!$column) {
306 $field = $column->getColName();
316 $column->getType()->sort($QB, $rightalias, $field, $order);