Skip to content
Snippets Groups Projects
Select Git revision
  • eb636ca37a712409b82d8dd82e7c53f43b6a456c
  • master default protected
  • b24
  • ll-workflow
  • alc-scindage-donnees-pj
  • FJ_LL_Tbl_Contrat
  • alc-docker-node
  • ll-apiplatform
  • php84
  • ll-rgpd
  • b23
  • alc-filtre-type-intervenant
  • ll-sans-mdb5
  • formules-ancienne-infra
  • ll-formules
  • alc-intervenant-dmep
  • ll-suppr-v_vol-s
  • b20
  • ll-postgresql
  • b23.0.1
  • b22
  • 24.8
  • 24.7
  • 24.6
  • 24.5
  • 24.4
  • 24.3
  • 24.2
  • 24.1
  • 24.0
  • 23.15
  • 24.0-beta19
  • 24.0-beta18
  • 24.0-beta17
  • 24.0-beta16
  • 24.0-beta15
  • 24.0-beta14
  • 24.0-beta13
  • 23.14
  • 24.0-beta12
  • 24.0-beta11
41 results

demo.config.php

Blame
  • user avatar
    gauthierb authored
    1c8db533
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    demo.config.php 2.90 KiB
    <?php
    
    namespace Application;
    
    return array(
        'router' => array(
            'routes' => array(
                'demo' => array(
                    'type'    => 'Segment',
                    'options' => array(
                        'route'    => '/demo[/:action]',
                        'constraints' => array(
                            'action'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                        ),
                        'defaults' => array(
                            'controller' => 'Application\Controller\Demo',
                            'action'     => 'index',
                        ),
                    ),
                ),
            ),
        ),
        'navigation' => array(
            'default' => array(
                'home' => array(
                    'pages' => array(
                        'demo' => array(
                            'label'    => 'Démo',
                            'route'    => 'demo',
                            'params' => array(
                                'action' => 'index',
                            ),
                            'pages' => array(
    //                            'of' => array(
    //                                'label'  => "Offre de formation",
    //                                'route'  => 'demo',
    //                                'params' => array(
    //                                    'action' => 'of',
    //                                ),
    //                                'visible' => true,
    //                                'pages' => array(),
    //                            ),
                                'intervenant' => array(
                                    'label'  => "Intervenants",
                                    'route'  => 'demo',
                                    'params' => array(
                                        'action' => 'intervenant',
                                    ),
                                    'visible' => true,
                                    'pages' => array(),
                                ),
                                'service-ref' => array(
                                    'label'  => "Service référentiel",
                                    'route'  => 'demo',
                                    'params' => array(
                                        'action' => 'saisir-service-referentiel-intervenant',
                                    ),
                                    'visible' => true,
                                    'pages' => array(),
                                ),
                            ),
                        ),
                    ),
                ),
            ),
        ),
        'bjyauthorize' => array(
            'guards' => array(
                'BjyAuthorize\Guard\Controller' => array(
                    array(
                        'controller' => 'Application\Controller\Demo',
                        'roles' => array('user')),
                ),
            ),
        ),
        'controllers' => array(
            'invokables' => array(
                'Application\Controller\Demo'        => 'Application\Controller\DemoController',
            ),
        ),
    );