Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7611455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:40:17+00:00 2026-05-31T01:40:17+00:00

Why in the class JRoute there is no method with _ , but we

  • 0

Why in the class JRoute there is no method with _ , but we use it??, the class JRoute only extends the JObjects, but where are the _ function? in joomla

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:40:19+00:00Added an answer on May 31, 2026 at 1:40 am

    What version are you using? If you go to the API page, you have this source code:

    class JRoute
    {
        /**
         * Translates an internal Joomla URL to a humanly readible URL.
         *
         * @param   string   $url    Absolute or Relative URI to Joomla resource.
         * @param   boolean  $xhtml  Replace & by & for XML compilance.
         * @param   integer  $ssl    Secure state for the resolved URI.
         *                              1: Make URI secure using global secure site URI.
         *                              0: Leave URI in the same secure state as it was passed to the function.
         *                             -1: Make URI unsecure using the global unsecure site URI.
         *
         * @return  The translated humanly readible URL.
         *
         * @since   11.1
         */
        public static function _($url, $xhtml = true, $ssl = null)
        {
            // Get the router.
            $app = JFactory::getApplication();
            $router = $app->getRouter();
    
            // Make sure that we have our router
            if (!$router)
            {
    

    So the method is there, defined right from the beginning (line 33 more or less).
    Look here for the method’s documentation : http://api.joomla.org/Joomla-Platform/JRoute.html#method_

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

class Ef_AppSecurity extends Zend_Controller_Plugin_Abstract { public function preDispatch(Zend_Controller_Request_Abstract $request) { if (!Zend_Auth::getInstance()->getIdentity()) { $redirect
class Foo(models.Model): title = models.CharField(max_length=20) slug = models.SlugField() Is there a built-in way to
class Score { var $score; var $name; var $dept; var $date; function Score($score, $name,
Class A calls the public method f() in the Constructor. Class B overrides method
class Test extends JPanel implements MouseListener { private JButton b1, b2, b3, b4; public
class Model_Core_NodeContents extends Zend_Db_Table_Abstract { protected $_name = 'node_contents'; protected $_referenceMap = array( Page
class base{ public $c = 'c'; public $sub = ''; function __construct(){ $this->sub =
Class c extends thread static Queue<Socket> socketQueue Make connection to another server or client
class ABC is an abstract base class. class X is its subclass. There's some
class X extends Map[String, String] { def x(): X = { X() } //

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.