Lines Matching defs:reference
103 public function addReference($reference) {
115 protected $reference;
145 $this->reference = array();
208 public function addReference($reference) {
210 $this->inline = $reference->isInline();
217 if ($reference->isBackReferenced()) {
218 $this->reference[] = $reference;
227 return !$this->processed && !empty($this->reference) && $this->text != '';
241 foreach ($this->reference as $reference) {
242 if ($reference->getId() != -1) {
243 $result = $reference->getId();
266 $doc = $this->scope->getRenderer()->renderNote($mode, $this, $this->reference);
268 $this->reference = array();
305 public function addReference($reference) {
306 parent::addReference($reference);
309 $data = array_diff_key($reference->getData(), array_flip($exclude));
318 return !$this->processed && !empty($this->reference) && ($this->text != '' || $this->hasData());
322 * Inject reference database data into references so that they can be properly rendered.
323 * Inject note text into the first reference.
327 foreach ($this->reference as $reference) {
328 $reference->rewrite($this->attributes, $this->data);
331 $this->reference[0]->setNoteText($this->scope->getRenderer()->renderNoteText($this));