public function run()
	{
		$this->echoLoadingTags();

		$assets = CoreAsset::register($this->view);

		if ($this->theme === true) { // Register the theme
			ThemeAsset::register($this->view);
		}

		if (isset($this->options['language'])) {
			$assets->language = $this->options['language'];
		}

		$assets->googleCalendar = $this->googleCalendar;
		$this->clientOptions['header'] = $this->header;

		$this->view->registerJs(implode("\n", [
			"jQuery('#{$this->options['id']}').fullCalendar({$this->getClientOptions()});",
		]), \yii\web\View::POS_READY);
	}
public function run()
	{
		$this->echoLoadingTags();

		$assets = CoreAsset::register($this->view);

		if ($this->theme === true) { // Register the theme
			ThemeAsset::register($this->view);
		}

		if (isset($this->options['language'])) {
			$assets->language = $this->options['language'];
		}

		$assets->googleCalendar = $this->googleCalendar;
		$this->clientOptions['header'] = $this->header;

		$this->view->registerJs(implode("\n", [
			"jQuery('#{$this->options['id']}').fullCalendar({$this->getClientOptions()});",
		]), \yii\web\View::POS_READY);
	}
public function run ( ) { $ this -> echoLoadingTags ( ) ; $ assets = CoreAsset :: register ( $ this -> view ) ; if ( $ this -> theme === true ) { // Register the theme ThemeAsset :: register ( $ this -> view ) ; } if ( isset ( $ this -> options [ 'language' ] ) ) { $ assets -> language = $ this -> options [ 'language' ] ; } $ assets -> googleCalendar = $ this -> googleCalendar ; $ this -> clientOptions [ 'header' ] = $ this -> header ; $ this -> view -> registerJs ( implode ( "\n" , [ "jQuery('#{$this->options['id']}').fullCalendar({$this->getClientOptions()});" , ] ) , \ yii \ web \ View :: POS_READY ) ; }
Load the options and start the widget
Load the options and start the widget