Where is \Joomla\Uri\Uri

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
jonBuckner1
Joomla! Explorer
Joomla! Explorer
Posts: 428
Joined: Mon Nov 12, 2012 9:08 am

Where is \Joomla\Uri\Uri

Post by jonBuckner1 » Fri Oct 26, 2018 1:24 am

Hi foilks.

One thing that has constantly stumped me is trying to find files within joomla.

IN...
joomla-cms/libraries/src/Uri/Uri.php

it says...
class Uri extends \Joomla\Uri\Uri


Can anyone help me understand where \Joomla\Uri\Uri is, please?
In Joomla root folder I have nothing like Joomla or Uri
In Joomla/Administrator I have nothing like Joomla or Uri
In Joomla/Libraries/Legacy I have nothing like Joomla or Uri
In libraries I have Joomla/.. but no Uri folder.

The file I can find is the one that extends \Joomla\Uri\Uri.

I can not work out the logic, been stuck on this since day one

Thanks

Jon
Last edited by imanickam on Fri Oct 26, 2018 3:23 am, edited 1 time in total.
Reason: Moved the topic from the forum General Questions/New to Joomla! 3.x to the forum Joomla! 3.x Coding

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2906
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Where is \Joomla\Uri\Uri

Post by SharkyKZ » Fri Oct 26, 2018 5:18 am

It's in libraries/vendor/joomla/uri/.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17439
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Where is \Joomla\Uri\Uri

Post by toivo » Fri Oct 26, 2018 6:24 am

According to libraries/vendor/composer/autoload_classmap.php, it is defined in libraries/vendor/joomla/uri/src/Uri.php

Code: Select all

    'Joomla\\Uri\\Uri' => $vendorDir . '/joomla/uri/src/Uri.php',
Toivo Talikka, Global Moderator

jonBuckner1
Joomla! Explorer
Joomla! Explorer
Posts: 428
Joined: Mon Nov 12, 2012 9:08 am

Re: Where is \Joomla\Uri\Uri

Post by jonBuckner1 » Fri Oct 26, 2018 9:16 pm

Vendor... thanks 🙏

Is there any tips you can give in how to know where files are?

and (if willing)

what is the naming reason for
src
vendor
joomla
cms

Thanks


Locked

Return to “Joomla! 3.x Coding”