Ejemplo n.º 1
0
/**
* Get a link to a view, the link is taken by the url mapping
*
* @param string|object $viewClass The View Class
* @param mixed $params Parameters for a regex url
* @param int $priority The priority of the mapped url
* @param string $language If set than you can override the language, otherwise the current language is taken
* @return string
*/
function l($viewClass, $params = null, $priority = 0, $language = null)
{
    return CHOQ_View::linkToView($viewClass, $params, $priority, $language);
}