<?php

Yii::import('zii.widgets.grid.CGridView');

class FGridView extends CGridView
{

    /**
     * @var string the CSS class name for the container of all data item display. Defaults to 'items'.
     * Note, this property must not contain false, null or empty string values. Otherwise such values may
     * cause undefined behavior.
     */
    public $itemsCssClass = 'table table-striped table-bordered table-hover';

    /**
     * @var string the URL of the CSS file used by this grid view. Defaults to null, meaning using the integrated
     * CSS file. If this is set false, you are responsible to explicitly include the necessary CSS file in your page.
     */
    public $cssFile = false;

    /**
     * @var array the HTML options for the view container tag.
     */
    public $htmlOptions = array('class' => 'grid-view table-responsive');

    /**
     * @var string the CSS class name for the pager container. Defaults to 'pager'.
     * Note, this property must not contain false, null or empty string values. Otherwise such values may
     * cause undefined behavior.
     */
    public $pagerCssClass = 'pagination';

    /**
     * @var array|string the configuration for the pager. Defaults to <code>array('class'=>'CLinkPager')</code>.
     * String value will be treated as the class name of the pager (<code>'ClassName'</code> value is similar
     * to the <code>array('class'=>'ClassName')</code> value). See {@link CBasePager} and {@link CLinkPager}
     * for more details about pager configuration array values.
     * @see enablePagination
     */
    public $pager = array(
	'class' => 'CLinkPager',
	'htmlOptions' => array('class' => 'pagination'),
	'cssFile' => false,
	'header' => false,
    );

}
