Lines Matching refs:query
39 $query = [];
42 $query[] = $attrs['thumbnailsize'];
45 $query[] = $attrs['imagesize'];
48 $query[] = $this->extractFlagParam('showname', $attrs, $defaults);
49 $query[] = $this->extractFlagParam('showtitle', $attrs, $defaults);
50 $query[] = $this->extractFlagParam('cache', $attrs, $defaults);
51 $query[] = $this->extractFlagParam('crop', $attrs, $defaults);
52 $query[] = $this->extractFlagParam('direct', $attrs, $defaults);
53 $query[] = $this->extractFlagParam('lightbox', $attrs, $defaults);
54 $query[] = $this->extractFlagParam('reverse', $attrs, $defaults);
55 $query[] = $this->extractFlagParam('recursive', $attrs, $defaults);
56 $query = array_filter($query);
59 $query[] = $attrs['cols'];
62 $query[] = '=' . $attrs['limit'];
65 $query[] = '+' . $attrs['offset'];
68 $query[] = '~' . $attrs['paginate'];
71 $query[] = $attrs['sort'];
74 $query[] = $attrs['filter'];
79 if ($query !== []) {
80 $result .= '?' . implode('&', $query);