Advertisement

KBSetup_GetArticleHeaderCount

Returns the number of articles for the current page.

count = KBSetup_GetArticleHeaderCount()

Parameters

Arguments

()

Returns

count
count 
Integer - The number of articles for the current page.

Example

 local count = KBSetup_GetArticleHeaderCount()
 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.
Community content is available under CC BY-SA 3.0 unless otherwise noted.