public function onBeforeRender() { $this->feed->setup($this->feedParams); $this->addComponent('feed', $this->feed); }
public function setup($data) { parent::setup($data); $this->driver->setFormats(NEWSFEED_CLASS_FormatManager::getInstance()->getFormatNames()); }