1 <?php
2
3 4 5 6 7 8 9 10
11
12 namespace Icybee\Modules\Articles;
13
14 use Icybee\Modules\Views\View;
15
16 class Module extends \Icybee\Modules\Contents\Module
17 {
18 19 20
21 protected function lazy_get_views()
22 {
23 $assets = array
24 (
25 'css' => array(DIR . 'public/page.css')
26 );
27
28 return \ICanBoogie\array_merge_recursive
29 (
30 parent::lazy_get_views(), array
31 (
32 'list' => array
33 (
34 'assets' => $assets
35 ),
36
37 'archives' => array
38 (
39 'title' => "Archives des articles",
40 'class' => __NAMESPACE__ . '\ArchivesView',
41 'provider' => 'Icybee\Modules\Contents\ViewProvider',
42 'assets' => $assets,
43 'renders' => View::RENDERS_MANY
44 )
45 )
46 );
47 }
48 }