JFactory

From Joomla! Documentation
Revision as of 09:36, 4 September 2008 by Rfriedel (Talk | contribs)

Jump to: navigation, search


Contents

Usage

Security

Examples

Access JFactory:

    $var =& JFactory::content();

Access an open database via JFactory:

    $database =& JFactory::getDBO();

Access a document using JFactory:

    $document =& JFactory::getDocument();

Accessing URI's:

    $uri =& JFactory::getURI();     
    

The following provides access to the logged-in user info:

    $user =& JFactory::getUser();

See Also

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox