/** * {@inheritDoc} */ public function loadAssets() { $this->actAsParent(); parent::loadAssets(); $this->actAsParent(false); if (Locale::isAvailable()) { $this->loadLocaleAssets(); $this->addJs('js/mlswitcher.js'); } }
/** * {@inheritDoc} */ protected function loadAssets() { $this->actAsParent(); parent::loadAssets(); $this->actAsParent(false); if (Locale::isAvailable()) { $this->loadLocaleAssets(); $this->addJs('js/mlricheditor.js'); } }
/** * {@inheritDoc} */ public function onLoadPageLinksForm() { $this->actAsParent(); return parent::onLoadPageLinksForm(); }