Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API KBArticle BeginLoading
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi|toc=0}} Starts the article load process. KBArticle_BeginLoading(id, searchType) == Parameters == === Arguments === * id (number) - The article's ID * searchType (number) - Search type for the loading process. === Returns === : nil == Details == * The 'searchType' can be either 1 or 2. 1 is used if the search text is empty, 2 otherwise. == Example == From Blizzard's KnowledgeBaseFrame.lua (l. 529 ff.): function KnowledgeBaseArticleListItem_OnClick(frame) local searchText = KnowledgeBaseFrameEditBox:GetText() local searchType = 2 if (searchText == KBASE_DEFAULT_SEARCH_TEXT or searchText == "") then searchType = 1 end KBArticle_BeginLoading(frame.articleId, searchType) end
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Wowapi
(
edit
)