API15

JApplication/getContentItemLinkCount: 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 preparing for archive only
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Deprecated.
Deprecated.


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JApplication/getContentItemLinkCount|Edit Descripton]]<nowiki>]</nowiki>
</span>


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


===Syntax===
===Syntax===
Line 26: Line 24:
</source>
</source>


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


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getContentItemLinkCount
  category=getContentItemLinkCount
  category=JApplication
  category=JApplication
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API15]]

Latest revision as of 00:16, 25 March 2017

Description

Deprecated.


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

Syntax

getContentItemLinkCount()


Defined in

libraries/joomla/application/application.php

Importing

jimport( 'joomla.application.application' );

Source Body

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


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

Examples

Code Examples