Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8bed51b5

Von Sven Schöling vor fast 12 Jahren hinzugefügt

  • ID 8bed51b59d52822ce4803fe18597c69ee3306183
  • Vorgänger 9b4b3771
  • Nachfolger 91aa8ecb

init_sub_layouts ist sauberer

Unterschiede anzeigen:

SL/Layout/Base.pm
11 11
  'array'                 => [
12 12
    'add_stylesheets_inline' => { interface => 'add', hash_key => 'stylesheets_inline' },
13 13
    'add_javascripts_inline' => { interface => 'add', hash_key => 'javascripts_inline' },
14
    'sub_layouts',
15
    'add_sub_layouts'         => { interface => 'add', hash_key => 'sub_layouts' },
14
    'sub_layouts',           => { interface => 'get_set_init' },
15
    'add_sub_layouts'        => { interface => 'add', hash_key => 'sub_layouts' },
16 16
  ],
17 17
);
18 18

  
......
60 60
  @{ $_[0]->{javascripts_inline} || [] };
61 61
}
62 62

  
63
sub init_sub_layouts { [] }
64

  
63 65

  
64 66
#########################################
65 67
# Interface

Auch abrufbar als: Unified diff