Ejemplo n.º 1
0
 /**
  * Initializes the object.
  * This method is invoked at the end of the constructor after the object is initialized with the
  * given configuration.
  */
 public function init()
 {
     $this->_hjs = Yii::$app->assetManager->getBundle(HighlightAsset::className());
     $this->_ace = Yii::$app->assetManager->getBundle(AceEditorAsset::className());
     $this->_hjs->css = ['dist/styles/' . $this->highlightStyle . '.css'];
     parent::init();
 }