Location: PHPKode > projects > YAXOO - Yet Another XOOps > XOOPS-2.0.13.2/htdocs/modules/xoopsheadline/include/functions.php
<?php

function &xoopsheadline_getrenderer(&$headline)
{
	include_once XOOPS_ROOT_PATH.'/modules/xoopsheadline/class/headlinerenderer.php';
	if (file_exists(XOOPS_ROOT_PATH.'/modules/xoopsheadline/language/'.$GLOBALS['xoopsConfig']['language'].'/headlinerenderer.php')) {
		include_once XOOPS_ROOT_PATH.'/modules/xoopsheadline/language/'.$GLOBALS['xoopsConfig']['language'].'/headlinerenderer.php';
		if (class_exists('XoopsHeadlineRendererLocal')) {
			return new XoopsHeadlineRendererLocal($headline);
		}
	}
	return new XoopsHeadlineRenderer($headline);
}
?>
Return current item: YAXOO - Yet Another XOOps