Lines Matching refs:options
37 public $options = [ variable in dokuwiki\\Feed\\FeedCreatorOptions
59 * @param array $options additional options to set (for testing)
61 public function __construct($options = []) argument
66 $this->options['type'] = $INPUT->valid(
72 $this->options['feed_mode'] = $INPUT->str('mode', 'recent');
73 $this->options['link_to'] = $INPUT->valid(
78 $this->options['item_content'] = $INPUT->valid(
83 $this->options['namespace'] = $INPUT->filter('cleanID')->str('ns');
84 $this->options['items'] = max(0, $INPUT->int('num', $conf['recent']));
85 $this->options['show_minor'] = $INPUT->bool('minor');
86 $this->options['show_deleted'] = $conf['rss_show_deleted'];
87 $this->options['show_summary'] = $conf['rss_show_summary'];
88 $this->options['only_new'] = $INPUT->bool('onlynewpages');
89 $this->options['sort'] = $INPUT->valid(
94 $this->options['search_query'] = $INPUT->str('q');
95 $this->options['content_type'] = $INPUT->valid(
100 $this->options['guardmail'] = $conf['mailguard'];
101 $this->options['title'] = $conf['title'];
102 if ($this->options['namespace']) {
103 $this->options['title'] .= ' - ' . $this->options['namespace'];
105 $this->options['subtitle'] = $conf['tagline'];
107 $this->options = array_merge($this->options, $options);
111 'opt' => &$this->options,
125 return implode('', array_values($this->options));
137 return $this->options[$option] ?? $default;
149 return $this->types[$this->options['type']]['name'];
159 return $this->types[$this->options['type']]['mime'];