Get All Joomla Constants, Classes,interfaces etc

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
User avatar
mlacunzav
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Tue Nov 20, 2012 5:26 pm
Location: Lima - Perú
Contact:

Get All Joomla Constants, Classes,interfaces etc

Post by mlacunzav » Sat Dec 09, 2017 8:24 am

Hello,
I want to get all the available joomla constants, interfaces, etc is this possible with a command/function?

For example PHP have: get_defined_functions() is there something similar in Joomla?
Last edited by toivo on Sat Dec 09, 2017 4:39 pm, edited 1 time in total.
Reason: mod note: moved to 3.x Coding
Saludos / Best Regards!

Mario Lacunza
https://lacunza.biz

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

Re: Get All Joomla Constants, Classes,interfaces etc

Post by toivo » Sat Dec 09, 2017 9:19 am

Some IDEs may have functions to list or even cross reference classes etc, similar to PHPXref.

You can run PHPXref on your workstation, but the application is out of date because it does not recognise the latest in OOP like interfaces. Otherwise I have found it really useful: http://phpxref.sourceforge.net/
Toivo Talikka, Global Moderator

User avatar
mlacunzav
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Tue Nov 20, 2012 5:26 pm
Location: Lima - Perú
Contact:

Re: Get All Joomla Constants, Classes,interfaces etc

Post by mlacunzav » Sat Dec 09, 2017 4:15 pm

thanks for your answer, but what I want is a Joomla/PHP function to use in my code, so maybe my app call getJoomlaConst() and I got an array with all the info like the native PHP function, is there something like it?
Saludos / Best Regards!

Mario Lacunza
https://lacunza.biz

deleted user

Re: Get All Joomla Constants, Classes,interfaces etc

Post by deleted user » Sat Dec 09, 2017 5:30 pm

No, there is not something like that.

User avatar
mlacunzav
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Tue Nov 20, 2012 5:26 pm
Location: Lima - Perú
Contact:

Re: Get All Joomla Constants, Classes,interfaces etc

Post by mlacunzav » Sat Dec 09, 2017 5:35 pm

Ohh! ok, any idea how can I code it?? where I need to check for get all of them? I check the Joomla API page and theres no way to download the info, Thanks!
Saludos / Best Regards!

Mario Lacunza
https://lacunza.biz

User avatar
mlacunzav
Joomla! Apprentice
Joomla! Apprentice
Posts: 42
Joined: Tue Nov 20, 2012 5:26 pm
Location: Lima - Perú
Contact:

Re: Get All Joomla Constants, Classes,interfaces etc

Post by mlacunzav » Sun Dec 10, 2017 10:36 pm

Just in case someone need the same, check this:

http://phpcrossref.com/xref/joomla/nav. ... index.html
Saludos / Best Regards!

Mario Lacunza
https://lacunza.biz

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

Re: Get All Joomla Constants, Classes,interfaces etc

Post by toivo » Mon Dec 11, 2017 7:56 am

That site presents the cross reference listing from Joomla 3.3.0. it is possible to generate the same listing from Joomla 3.8.2.on your workstation, even though it does not track interfaces: http://phpxref.sourceforge.net/
Toivo Talikka, Global Moderator


Locked

Return to “Joomla! 3.x Coding”