Support Joomla!

references:joomla.framework:application:japplication-getstaticcontentcount

getStaticContentCount

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Application Class JApplication Method getGlobalBlogSectionCount Reference getGlobalBlogSectionCount() Never Internal Review

Returns the number of items in the menu that are of type ‘static content’.

The method is deprecated and provided for backwards compatibility with Joomla! 1.0. It is scheduled to be removed in future versions. Use JMenu-getItems instead.

The term ‘static content’ was used in earlier versions of Joomla! for what is called ‘uncategorized content’ as of Joomla! 1.5

Syntax

void getStaticContentCount ()

Examples

Example

global $mainframe;

echo $mainframe->getStaticContentCount();

will display the number of menu items that are of type ‘static content’.


 
references/joomla.framework/application/japplication-getstaticcontentcount.txt (559 views) · Last modified: 2007/09/22 02:46