/** * Wrapper router functions * * These functions are proxys for the new router interface * for old SEF extensions. * * @param array $segments The segments of the URL to parse. * * @return array The URL attributes to be used by the application. * * @deprecated 4.0 Use Class based routers instead */ function wrapperParseRoute($segments) { $router = new WrapperRouter(); return $router->parse($segments); }
/** * Render invoices panel in admin section * * @param Array $vars */ public function renderAdmin() { WrapperRouter::route(); }