Difference between revisions of "JApplication/getGlobalBlogSectionCount"
From Joomla! Documentation
< API15:JApplication
m (removing red link to edit, no existant pages) |
m (clean up) |
||
Line 2: | Line 2: | ||
Deprecated. | Deprecated. | ||
− | + | ||
− | |||
− | |||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
Line 26: | Line 24: | ||
</source> | </source> | ||
− | + | ||
− | |||
− | |||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
Revision as of 08:30, 24 March 2017
The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
Description[edit]
Deprecated.
<! removed transcluded page call, red link never existed >
Syntax[edit]
getGlobalBlogSectionCount()
Defined in[edit]
libraries/joomla/application/application.php
Importing[edit]
jimport( 'joomla.application.application' );
Source Body[edit]
function getGlobalBlogSectionCount( )
{
$menus = &JSite::getMenu();
return count($menus->getItems('type', 'content_blog_section'));
}
<! removed transcluded page call, red link never existed >
Examples[edit]
<CodeExamplesForm />