Lines Matching refs:options

64   private $options;  variable in BibtexConverter
92 * @param array $options Options array. May contain the following pairs:
104 function __construct($options=array(), $sanitise=null, $authors=null) { argument
106 $this->options = array(
124 foreach ( $this->options as $key => $value ) {
125 if ( !empty($options[$key]) ) {
126 $this->options[$key] = $options[$key];
133 if ( is_readable(dirname(__FILE__).'/lang/'.$this->options['lang'].'.php') ) {
134 require('lang/'.$this->options['lang'].'.php');
139 $this->options['lang'] = $translations;
141 $this->helper = new Helper($this->options);
197 $groupingDisabled = $this->options['group'];
198 $this->options['group'] = 'none';
202 if ( $this->options['group'] === 'none' ) {
222 $this->options['group'] = $groupingDisabled;
248 if ( empty($this->options['lang']['entrytypes'][$entry['entrytype']]) ) {
249 $entry['entrytype'] = $this->options['lang']['entrytypes']['unknown'];
254 foreach ( $this->options['only'] as $field => $regexp ) {
292 if ( $this->options['group'] !== 'none' ) {
294 … if ( !empty($entry[$this->options['group']]) || $this->options['group'] === 'firstauthor' ) {
295 if ( $this->options['group'] === 'firstauthor' ) {
298 elseif ( $this->options['group'] === 'author' ) {
302 $target = $entry[$this->options['group']];
306 $target = $this->options['lang']['rest'];
317 $result[$this->options['lang']['all']] = $data;
333 if ( $this->options['group'] !== 'none' ) {
362 if ( $this->options['group'] !== 'none' ) {
407 if ( $this->options['group'] === 'entrytype' ) {
408 $key = $this->options['lang']['entrytypes'][$key];