Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/pagerfanta/pagerfanta/src/Pagerfanta/View/TwitterBootstrapView.php
Строк: 25
<?php

/*
 * This file is part of the Pagerfanta package.
 *
 * (c) Pablo Díez <pablodip@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace PagerfantaView;

use 
PagerfantaViewTemplateTwitterBootstrapTemplate;

/**
 * TwitterBootstrapView.
 *
 * View that can be used with the pagination module
 * from the Twitter Bootstrap CSS Toolkit
 * http://twitter.github.com/bootstrap/
 *
 * @author Pablo Díez <pablodip@gmail.com>
 * @author Jan Sorgalla <jsorgalla@gmail.com>
 */
class TwitterBootstrapView extends DefaultView
{
    protected function 
createDefaultTemplate()
    {
        return new 
TwitterBootstrapTemplate();
    }

    protected function 
getDefaultProximity()
    {
        return 
3;
    }

    
/**
     * {@inheritdoc}
     */
    
public function getName()
    {
        return 
'twitter_bootstrap';
    }
}
Онлайн: 0
Реклама