1 <?php
2 /**
3 * @package Joomla.Platform
4 * @subpackage Application
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 /**
13 * Wrapper class for JRoute
14 *
15 * @package Joomla.Platform
16 * @subpackage Application
17 * @since 3.4
18 */
19 class JRouteWrapperRoute
20 {
21 /**
22 * Helper wrapper method for _
23 *
24 * @param string $url Absolute or Relative URI to Joomla resource.
25 * @param boolean $xhtml Replace & by & for XML compliance.
26 * @param integer $ssl Secure state for the resolved URI.
27 *
28 * @return string The translated humanly readable URL.
29 *
30 * @see JRoute::_()
31 * @since 3.4
32 */
33 public function _($url, $xhtml = true, $ssl = null)
34 {
35 return JRoute::_($url, $xhtml, $ssl);
36 }
37 }
38