Lines Matching refs:options

64   private $options;  variable in BibtexConverter
85 * @param array $options Options array. May contain the following pairs:
97 function __construct($options=array(), $sanitise=null) { argument
99 $this->options = array(
117 foreach ( $this->options as $key => $value ) {
118 if ( !empty($options[$key]) ) {
119 $this->options[$key] = $options[$key];
126 if ( is_readable(dirname(__FILE__).'/lang/'.$this->options['lang'].'.php') ) {
127 require('lang/'.$this->options['lang'].'.php');
132 $this->options['lang'] = $translations;
134 $this->helper = new Helper($this->options);
182 $groupingDisabled = $this->options['group'];
183 $this->options['group'] = 'none';
187 if ( $this->options['group'] === 'none' ) {
207 $this->options['group'] = $groupingDisabled;
233 if ( empty($this->options['lang']['entrytypes'][$entry['entrytype']]) ) {
234 $entry['entrytype'] = $this->options['lang']['entrytypes']['unknown'];
239 foreach ( $this->options['only'] as $field => $regexp ) {
277 if ( $this->options['group'] !== 'none' ) {
279 … if ( !empty($entry[$this->options['group']]) || $this->options['group'] === 'firstauthor' ) {
280 if ( $this->options['group'] === 'firstauthor' ) {
283 elseif ( $this->options['group'] === 'author' ) {
287 $target = $entry[$this->options['group']];
291 $target = $this->options['lang']['rest'];
302 $result[$this->options['lang']['all']] = $data;
318 if ( $this->options['group'] !== 'none' ) {
347 if ( $this->options['group'] !== 'none' ) {
392 if ( $this->options['group'] === 'entrytype' ) {
393 $key = $this->options['lang']['entrytypes'][$key];