Counts the number of menu items that are blog sections (content_blog_section).
Instead use:
$menus = &JMenu::getInstance();
$count = count($menus->getItems('type', 'content_blog_section'));
Returns Number of menu items that are blog sections
getCfg( varname : string ) : mixed
Gets a configuration value.
Parameters varname Name of config value
Returns Configuration value
getClientId( ) : int
Gets the client id. 0 = site, 1 = administrator, 2 = installer.
Returns Client ID
getContentItemLinkCount( ) : int
Deprecated; use of this method is no longer advised.
Counts the number of menu items that are content item links (content_item_link).
Instead use:
$menus = &JMenu::getInstance();
$count = count($menus->getItems('type', 'content_item_link'));
Returns Number of menu items that are content item links
Appendix
[ 402 ]
getCustomPathway( ) : array
Deprecated and created during the development of Joomla! 1.5.
Instead use JPathWay:
$pathway = mainframe->getPathWay();
$customPathway = $pathway->getPathWayNames();
Returns Array of breadcrumbs
getGlobalBlogSectionCount( ) : int
Deprecated; use of this method is no longer advised.
Pages:
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559