public function listAction()
    {
        $automaticTheme = $this->addAutomaticTheme();

        $themeMaper = $this->getAdminThemeService();

        $themesActivated = $themeMaper->findActiveTheme();
        $themesNotActivated = $themeMaper->findActiveTheme(false);

        return array('themesActivated'    => $themesActivated,
                     'themesNotActivated' => $themesNotActivated,
                     'automaticTheme'     => $automaticTheme,
                     'flashMessages'      => $this->flashMessenger()->getMessages());
    }
public function listAction()
    {
        $automaticTheme = $this->addAutomaticTheme();

        $themeMaper = $this->getAdminThemeService();

        $themesActivated = $themeMaper->findActiveTheme();
        $themesNotActivated = $themeMaper->findActiveTheme(false);

        return array('themesActivated'    => $themesActivated,
                     'themesNotActivated' => $themesNotActivated,
                     'automaticTheme'     => $automaticTheme,
                     'flashMessages'      => $this->flashMessenger()->getMessages());
    }
public function listAction ( ) { $ automaticTheme = $ this -> addAutomaticTheme ( ) ; $ themeMaper = $ this -> getAdminThemeService ( ) ; $ themesActivated = $ themeMaper -> findActiveTheme ( ) ; $ themesNotActivated = $ themeMaper -> findActiveTheme ( false ) ; return array ( 'themesActivated' => $ themesActivated , 'themesNotActivated' => $ themesNotActivated , 'automaticTheme' => $ automaticTheme , 'flashMessages' => $ this -> flashMessenger ( ) -> getMessages ( ) ) ; }
Liste des themes

@return array $array Passage des variables dans le template
themesActivated : theme qui sont activés
themesNotActivated : theme qui ne sont pas activés
flashMessages : flashMessages
Liste des themes