Got a question? Ask a developer in our Developer's Corner Forum
| Useful Basic Joomla PHP Functionality |
|
A few of the questions I've answered on the Joomla forums are how to do some pretty basic PHP tasks. I think just seeing a few of the examples will help developers understand how useful the API documentation is and help them understand where to get further help, so I'm going to try to start cataloging them here. If you have a suggestion for things to add, let us know.
How Can I Tell What Type of User Is Logged In?There are a few different functions to help with this:
http://api.joomla.org/Joomla-Framework/User/JUser.html#$guest $user = &JFactory::getUser();
|

