Wikia

WoWWiki

Changes: API KBSetup GetTotalArticleCount

Edit

Back to page

(New page: {{wowapi}}__NOTOC__ <div style="float: right"><small>'''Main Page'''</small></div> Returns the number of articles. count = KBSetup_GetTotalArticleCount() == Parameter...)
 
m (Forgot to remove a link to my sandbox page )-:)
 
Line 1: Line 1:
 
{{wowapi}}__NOTOC__
 
{{wowapi}}__NOTOC__
<div style="float: right"><small>'''[[User:Borlox/KB|Main Page]]'''</small></div>
 
 
Returns the number of articles.
 
Returns the number of articles.
   

Latest revision as of 17:19, April 18, 2008

WoW API < KBSetup GetTotalArticleCount

Returns the number of articles.

count = KBSetup_GetTotalArticleCount()

Parameters Edit

Arguments Edit

()

Returns Edit

count
count 
Integer - The number of articles.

Example Edit

 local count = KBSetup_GetTotalArticleCount()
 for i=1, count do
   -- do something with the article

Details Edit

  • This will count the "most asked" articles, not the number of articles for the active query.

Around Wikia's network

Random Wiki