/** * Outputs holder html for dynamically loaded RSS. * It automatically adds necessary js, css files and make injection into HTML HEAD section. * @param $mixedRssId - system rss name, or current block id (if inserted into builder page) * @param $iRssNum - numbr of rss items to disolay * @param $iMemberId - optional member id */ public function getHolder($mixedRssId, $iRssNum, $iMemberId = 0, $bInit = true) { if ($bInit && !self::$bInitialized) { $this->_addJsCss(); $this->_addInjection(); self::$bInitialized = true; } return $this->_oTemplate->parseHtmlByName('rss_holder.html', array('rss_object' => $this->_sObject, 'rss_id' => $mixedRssId, 'rss_num' => $iRssNum, 'member_id' => $iMemberId)); }
public function __construct($aOptions, $oTemplate = false) { parent::__construct($aOptions, $oTemplate); }