Вход Регистрация
Файл: contao-3.5.8/system/modules/core/elements/ContentSliderStart.php
Строк: 33
<?php

/**
 * Contao Open Source CMS
 *
 * Copyright (c) 2005-2016 Leo Feyer
 *
 * @license LGPL-3.0+
 */

namespace Contao;


/**
 * Front end content element "slider" (wrapper start).
 *
 * @author Leo Feyer <https://github.com/leofeyer>
 */
class ContentSliderStart extends ContentElement
{

    
/**
     * Template
     * @var string
     */
    
protected $strTemplate 'ce_slider_start';


    
/**
     * Generate the content element
     */
    
protected function compile()
    {
        if (
TL_MODE == 'BE')
        {
            
$this->strTemplate 'be_wildcard';

            
/** @var BackendTemplate|object $objTemplate */
            
$objTemplate = new BackendTemplate($this->strTemplate);

            
$this->Template $objTemplate;
            
$this->Template->title $this->headline;
        }

        
// Slider configuration
        
$this->Template->config $this->sliderDelay ',' $this->sliderSpeed ',' $this->sliderStartSlide ',' $this->sliderContinuous;
    }
}
Онлайн: 0
Реклама