Lines Matching refs:flags
31 'desc' => 'get values for flags, or defaults where not supplied',
32 'params' => array('flags' => 'array'),
33 'return' => array('flags' => 'array'),
125 * Turn a list of user-supplied flags into a complete list of all flags
127 * using global configuration options or plugin defaults where flags have
134 * @return array All flags required by the Blog plugin (only)
137 $flags = array();
140 $flags['formpos'] = $this->getConf('formposition');
142 $flags['formpos'] = 'top';
144 $flags['formpos'] = 'bottom';
146 $flags['formpos'] = 'none';
154 $flags['newentrytitle'] = $newentrytitle;
157 $flags['newentrytitle'] = $conf_title;
159 $flags['newentrytitle'] = $this->getLang('newentry');
163 $flags['pagingcontrols'] = !in_array('nopagingcontrols', $setflags);
165 return $flags;