Lines Matching refs:type

159 	$type = $resourceArray['_ATTRIBUTES']['name'];
168 $this->fallback[$type] = $array['_DATA'];
173 $this->{$type}['ultimate'] = $array['_DATA'];
181 $this->{$type}[$array['_NAME']][$split[1]]
185 $this->{$type}[$array['_NAME']][$elements['_NAME']]
194 if(isset($this->$type))
195 $this->backup[$type] = $this->$type;
206 foreach($this->backup as $type => $array)
207 $this->$type = $array;
219 function preProcess($type, $row) argument
226 $this->type = array_search($type, $this->styleMap->types);
240 if(!$this->preview && (($type == 'book') || ($type == 'book_article')) &&
242 array_key_exists('author', $this->$type))
247 $editorArray = PARSESTYLE::parseStringToArray($type, $this->style['editorSwitchIfYes'],
251 $this->{$type}['author'] = $editorArray['editor'];
252 unset($this->{$type}['editor']);
261 if(!$this->type)
263 list($type, $row) = $this->preProcessBibtex($row, $type);
265 list($type, $row) = $this->preProcessBibtex($row, $this->type);
270 if($type == 'thesis')
272 if(($key = array_search('type', $this->styleMap->$type)) !== FALSE)
277 if(($key = array_search('label', $this->styleMap->$type)) !== FALSE)
288 if(!isset($this->$type))
290 $fallback = $this->fallback[$type];
291 $type = $fallback;
293 $this->type = $type;
301 if(array_key_exists($field, $this->styleMap->$type) &&
302 !array_key_exists($this->styleMap->{$type}[$field], $this->item))
318 function preProcessBibtex(&$row, $type) argument
353 if(!$this->type)
355 if($type == 'mastersthesis')
357 $type = 'thesis';
360 if($type == 'phdthesis')
362 $type = 'thesis';
365 else if($type == 'booklet')
366 $type = 'miscellaneous';
367 else if($type == 'conference')
368 $type = 'proceedings_article';
369 else if($type == 'incollection')
370 $type = 'book_article';
371 else if($type == 'manual')
372 $type = 'report';
377 else if($type == 'journal_article')
379 if(array_key_exists('month', $row) && array_key_exists('date', $this->styleMap->$type))
383 $type = 'newspaper_article';
385 $type = 'magazine_article';
389 $type = 'journal_article';
394 else if(($type == 'miscellaneous') && array_key_exists('howpublished', $row))
399 $type = 'web_article';
402 $this->type = $type;
404 array_key_exists('creator1', $this->styleMap->$type))
420 array_key_exists('creator2', $this->styleMap->$type))
434 if(array_key_exists('pages', $row) && array_key_exists('pages', $this->styleMap->$type))
440 return array($type, $row);
463 $this->type = 'citation';
465 $type = $this->type;
469 if(array_key_exists('independent', $this->$type))
470 $independent = $this->{$type}['independent'];
475 $checkPost = array_keys($this->$type);
477 foreach($this->$type as $key => $value)
519 */ if($styleKey = array_search($key, $this->styleMap->$type))
736 $type = $this->type;
835 $this->item[$this->styleMap->{$type}[$nameType]] = $pString;
953 $type = $this->type;
959 if(isset($this->item) && array_key_exists($this->styleMap->{$type}[$fieldName], $this->item))
961 $this->item[$this->styleMap->{$type}[$fieldName]] = $item;
973 $type = $this->type;
976 if(array_key_exists($field, $this->styleMap->$type) &&
977 !array_key_exists($this->styleMap->{$type}[$field], $this->item))
1001 $type = $this->type;
1002 if(!array_key_exists('title', $this->styleMap->$type))
1003 $this->item[$this->styleMap->{$type}['title']] = '';
1032 $this->item[$this->styleMap->{$type}['title']] =
1052 $type = $this->type;
1063 $this->item[$this->styleMap->{$type}['pages']] = $start;
1071 $this->item[$this->styleMap->{$type}['pages']] = $start . '-' . $end;
1083 $this->item[$this->styleMap->{$type}['pages']] = $start . '-' . $end;
1088 $this->item[$this->styleMap->{$type}['pages']] = $start . '-' . $end;
1120 $this->item[$this->styleMap->{$type}['pages']]
1130 $this->item[$this->styleMap->{$type}['pages']] = $start . '-' . $end;
1137 $this->item[$this->styleMap->{$type}['pages']] = $start . '-' . $end;
1150 $type = $this->type;
1206 $this->item[$this->styleMap->{$type}['runningTime']] = $runningTime;
1221 $type = $this->type;
1300 $this->item[$this->styleMap->{$type}['date']] = $date;
1313 $type = $this->type;
1319 … $this->item[$this->styleMap->{$type}[array_search('edition', $this->styleMap->$type)]] = $edition;