API15

API15:JRegistry/getNameSpaces

From Joomla! Documentation

Revision as of 22:24, 22 March 2010 by Doxiki (talk | contribs) (New page: ===Description=== Get the list of namespaces <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Get the list of namespaces

[Edit Descripton]

Template:Description:JRegistry/getNameSpaces

Syntax

getNameSpaces()


Returns

array List of namespaces

Defined in

libraries/joomla/registry/registry.php

Importing

jimport( 'joomla.registry.registry' );

Source Body

function getNameSpaces()
{
        return array_keys($this->_registry);
}

[Edit See Also] Template:SeeAlso:JRegistry/getNameSpaces

Examples

<CodeExamplesForm />