Project

General

Profile

« Previous | Next » 

Revision 8c14d0ea

Added by Andreas Kohlbecker over 3 years ago

ref #8543 testing for erroneous usage of the dafault footnoteListKey

View differences:

modules/cdm_dataportal/classes/footnote.php
29 29
  }
30 30

  
31 31
  /**
32
   * @todo please document this function.
32
   * Creates markup for the footnote.
33
   *
34
   * @param $footnote_list_key
35
   *
36
   * @return string
37
   *  The markup for the footnote
33 38
   */
34
  public function doRender() {
39
  public function doRender($footnote_list_key = null) {
35 40

  
36 41
    $enclosing_tag = null;
37 42
    if(is_string($this->enclosing_tag)){
38 43
      $enclosing_tag = $this->enclosing_tag;
39 44
    }
40 45

  
41
    return render_footnote($this->key, $this->object, $enclosing_tag);
46
    return render_footnote($this->key, $this->object, $enclosing_tag, $footnote_list_key);
42 47
  }
43 48
}

Also available in: Unified diff