Project

General

Profile

« Previous | Next » 

Revision 28c5c87a

Added by Andreas Kohlbecker over 9 years ago

refactoring the feature node blocks - 1

View differences:

7.x/modules/cdm_dataportal/classes/footnotemanager.php
31 31
   * key of the  $fnstore map
32 32
   *
33 33
   * The values are associative arrays with the following optional elements:
34
   *  - enclosing_tag: the enclosing tag to be used for rendering of the footnote, @see theme_cdm_footnote()
34
   *  - enclosing_tag: the enclosing tag to be used for rendering of the footnote,
35
   *    @see theme_cdm_footnote()
35 36
   *  - key_format: 'latin', 'ROMAN', 'roman', 'ALPHA', 'alpha'
36 37
   * and one required element:
37
   *  - key_index: the set specific counter, to replace the default $footnote_key_index
38
   *  - key_index: the set specific counter, to replace the
39
   *    default $footnote_key_index
38 40
   */
39 41
  private static $fn_sets = array();
40
  private static $default_set_definition = array('key_index' => 1, 'enclosing_tag' => null, 'key_format' => 'numeric');
42
  private static $default_set_definition = array(
43
    'key_index' => 1,
44
    'enclosing_tag' => null,
45
    'key_format' => 'numeric'
46
  );
41 47

  
42 48
  /**
43 49
   * Private constructor.
......
148 154
   * @param $footnoteListKey
149 155
   * @param $object
150 156
   *
151
   * @return unknown_type
157
   * @return
152 158
   */
153 159
  private static function footnoteExists($footnoteListKey, $object) {
154 160
    foreach (self::$fnstore[$footnoteListKey] as $key => $fn) {

Also available in: Unified diff