Admin_ThemesController::wizardThemePlaylistsAction PHP Метод

wizardThemePlaylistsAction() публичный Метод

    public function wizardThemePlaylistsAction()
    {
        $playlistsService = \Zend_Registry::get('container')->getService('playlists');
        $theme = $this->getThemeService()->findById($this->_request->getParam('id'));
        $path = __DIR__ . '/../../../../themes/' . $theme->getPath() . 'theme.xml';
        $themePlaylists = $playlistsService->loadThemePlaylists($path);
        $newThemePlaylists = $playlistsService->buildNewThemePlaylists($themePlaylists);
        $this->view->themePlaylists = $newThemePlaylists;
        $this->view->playlistsAreUpToDate = $playlistsService->checkIfThemePlaylistsAreUpToDate($theme, $this->view->themePlaylists);
        $this->view->theme = $theme;
    }