public function beforeFilter() { parent::beforeFilter(); if ($this->params['prefix'] == 'admin') { $this->subMenuElements = array('feed_common'); } }