WoW API: KBSetup GetTotalArticleCount

From AddOn Studio
Revision as of 17:15, 18 April 2008 by WoWWiki>Borlox (New page: {{wowapi}}__NOTOC__ <div style="float: right"><small>'''Main Page'''</small></div> Returns the number of articles. count = KBSetup_GetTotalArticleCount() == Parameter...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < KBSetup GetTotalArticleCount

Returns the number of articles.

count = KBSetup_GetTotalArticleCount()

Parameters

Arguments

()

Returns

count
count
Integer - The number of articles.

Example

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

Details

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