Lines Matching refs:row

219   function preProcess($type, $row)  argument
227 if($this->bibtex && array_key_exists('author', $row))
229 $row['creator1'] = $row['author'];
230 unset($row['author']);
232 if($this->bibtex && array_key_exists('editor', $row))
234 $row['creator2'] = $row['editor'];
235 unset($row['editor']);
241 $row['creator2'] && !$row['creator1'] && $this->style['editorSwitch'] &&
244 $row['creator1'] = $row['creator2'];
245 $row['creator2'] = FALSE;
263 list($type, $row) = $this->preProcessBibtex($row, $type);
265 list($type, $row) = $this->preProcessBibtex($row, $this->type);
274 if(isset($row[$key]))
275 $row[$key] = ucfirst($row[$key]);
279 if(isset($row[$key]))
280 $row[$key] = ucfirst($row[$key]);
299 foreach($row as $field => $value)
303 $this->addItem($row[$field], $field);
306 return $row;
318 function preProcessBibtex(&$row, $type) argument
345 if ($this->cleanEntry) {$row=$this->convertEntry($row);}
358 $row['type'] = "Master's Dissertation";
363 $row['type'] = "PhD Thesis";
379 if(array_key_exists('month', $row) && array_key_exists('date', $this->styleMap->$type))
381 list($startMonth, $startDay, $endMonth, $endDay) = $parseDate->init($row['month']);
394 else if(($type == 'miscellaneous') && array_key_exists('howpublished', $row))
396 if(preg_match("#^\\\url{(.*://.*)}#", $row['howpublished'], $match))
398 $row['URL'] = $match[1];
403 if(array_key_exists('creator1', $row) && $row['creator1'] &&
406 $creators = $parseCreator->parse($row['creator1']);
419 if(array_key_exists('creator2', $row) && $row['creator2'] &&
422 $creators = $parseCreator->parse($row['creator2']);
434 if(array_key_exists('pages', $row) && array_key_exists('pages', $this->styleMap->$type))
436 list($start, $end) = $parsePages->init($row['pages']);
439 $this->formatTitle($row['title'], "{", "}");
440 return array($type, $row);
971 function addAllOtherItems($row) argument
974 foreach($row as $field => $value)
978 $this->addItem($row[$field], $field);