DatePickerLanguageAsset.php 814 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace yii\jui;
AlexGx committed
9

10 11 12 13 14 15
use yii\web\AssetBundle;

/**
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
Qiang Xue committed
16
class DatePickerLanguageAsset extends AssetBundle
17
{
18
    public $sourcePath = '@bower/jquery-ui';
Qiang Xue committed
19 20 21 22 23 24 25 26 27
    /**
     * @var boolean whether to automatically generate the needed language js files.
     * If this is true, the language js files will be determined based on the actual usage of [[DatePicker]]
     * and its language settings. If this is false, you should explicitly specify the language js files via [[js]].
     */
    public $autoGenerate = true;
    /**
     * @inheritdoc
     */
28
    public $depends = [
Qiang Xue committed
29
        'yii\jui\JuiAsset',
30
    ];
31
}