Lines Matching refs:name

126     protected $name;
136 $this->name = preg_replace('/refnotes_bibtex_(\w+)_mode/', '$1', get_class($this));
155 return $this->name;
163 $this->Lexer->addSpecialPattern($pattern, $mode, $this->name);
167 $this->Lexer->addEntryPattern($pattern, $mode, $this->name);
171 $this->Lexer->mapHandler($this->name, $this->handler);
180 $this->Lexer->addExitPattern($pattern, $this->name);
203 $this->Lexer->mapHandler('base', $this->name);
216 $this->handler = $this->name;
217 $this->name .= '_' . $type;
266 $this->handler = $this->name;
267 $this->name .= '_' . $type;
287 $this->handler = $this->name;
288 $this->name .= '_' . $type;
293 $this->allowedModes = array($this->name);
478 $name = $entry->getName();
481 if ($this->isValidRefnotesName($name)) {
482 if ($name[0] != ':') {
483 $name = $this->namespace . $name;
486 $this->entry[] = array_merge(array('note-name' => $name), $entry->getData($this->strings));
491 $name = reset(array_keys($data));
493 if ($this->isValidStringName($name)) {
494 $this->strings->add($name, $data[$name]);
497 elseif (($type == 'comment') && (strtolower($name) == 'refnotes')) {
509 private function isValidRefnotesName($name) {
510 return preg_match('/^' . refnotes_note::getNamePattern('full-extended') . '$/', $name) == 1;
516 private function isValidStringName($name) {
517 return preg_match('/^[[:alpha:]]\w*$/', $name) == 1;
525 private $name;
533 $this->name = '';
548 return $this->name;
568 if (($this->name == '') && (preg_match('/\s*([^\s,]+)\s*,/', $token, $match) == 1)) {
569 $this->name = $match[1];
584 private $name;
590 public function __construct($name) {
591 $this->name = strtolower($name);
599 return $this->name;
659 public function add($name, $value) {
660 $this->string[$name] = $value;
666 public function lookup($name) {
667 return array_key_exists($name, $this->string) ? $this->string[$name] : '';