Lines Matching refs:column

162      * $type may be an column array with pre and postfixes
186 * Resolve a value according to its column settings
197 $column = $this->column($colname);
198 $value = $this->addPrePostFixes($column['type'], $value);
201 $type = $column['type'];
225 * Return XHTML formated data, depending on column type
227 * @param array $column
232 public function formatData($column, $value, Doku_Renderer_xhtml $R)
245 $type = $column['type'];
251 $val = $this->addPrePostFixes($column['type'], $val);
257 $id = $this->addPrePostFixes($column['type'], $id);
274 $id = $this->addPrePostFixes($column['type'], $id);
280 $val = ':' . $column['key'] . ":$val";
286 $id = $this->addPrePostFixes($column['type'], $id);
299 $val = $this->addPrePostFixes($column['type'], $val);
304 if (!is_array($column['type'])) {
305 $target = $column['key'] . ':';
307 $target = $this->addPrePostFixes($column['type'], '');
311 . wl(str_replace('/', ':', cleanID($target)), $this->getTagUrlparam($column, $val))
330 $data = $this->addPrePostFixes($column['type'], $data);
344 $val = $this->addPrePostFixes($column['type'], $val);
354 $title = $column['key'] . ': ' . basename(str_replace(':', '/', $mediaid));
396 * Split a column name into its parts
398 * @param string $col column name
401 public function column($col)
404 $column = [
420 if (isset($specials[$column['title']])) {
421 $s = $specials[$column['title']];
422 $column['title'] = $this->getLang($s[0]);
423 if ($column['type'] === '' && isset($s[1])) {
424 $column['type'] = $s[1];
430 if (isset($aliases[$column['type']])) {
431 $column['origtype'] = $column['type'];
432 $column['type'] = $aliases[$column['type']];
436 if (isset($this->locs[$column['key']])) {
437 $column['title'] = $this->locs[$column['key']];
440 return $column;
478 $column = $this->column(trim($matches[1]));
508 $val = $this->cleanData($val, $column['type']);
523 'key' => $column['key'],
526 'colname' => $column['colname'],
527 'type' => $column['type']
604 // we also take the column and filtertype in the key:
664 * Get url parameters, remove all filters for given column and add filter for desired tag
666 * @param array $column
670 public function getTagUrlparam($column, $tag)
677 //remove all filters equal to column
683 if ($filter['key'] == $column['key']) {
688 $param[] = $column['key'] . "_=$tag";