$smarty->registerPlugin('function', 'fuel_version', array($this, 'fuel_version')); $smarty->registerPlugin('function', 'url', array($this, 'url')); $smarty->registerPlugin('function', 'base_url', array('Uri', 'base')); $smarty->registerPlugin('function', 'current_url', array('Uri', 'current')); $smarty->registerPlugin('function', 'uri_segment', array($this, 'uri_segment')); $smarty->registerPlugin