API15

JApplication/getBlogSectionCount: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Deprecated. <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> <...
 
m removing red link to edit, no existant pages
Line 3: Line 3:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JApplication/getBlogSectionCount|Edit Descripton]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>


{{Description:JApplication/getBlogSectionCount}}
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 27: Line 27:


<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JApplication/getBlogSectionCount|Edit See Also]]<nowiki>]</nowiki>
<nowiki>[<! removed edit link to red link >]</nowiki>
</span>
</span>
{{SeeAlso:JApplication/getBlogSectionCount}}
<! removed transcluded page call, red link never existed >


===Examples===
===Examples===
Line 42: Line 42:
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

Revision as of 13:32, 12 May 2013

Description

Deprecated.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

getBlogSectionCount()


Defined in

libraries/joomla/application/application.php

Importing

jimport( 'joomla.application.application' );

Source Body

function getBlogSectionCount( )
{
        $menus = &JSite::getMenu();
        return count($menus->getItems('type', 'content_blog_section'));
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />