I noticed that I can call some QA functions from within an advanced theme (qa-theme.php), while for others you need to include the correct functions file.
For example, I am able to call qa_get_logged_in_level() in the qa-theme.php if I'm on the user page ($this->template=='user') and qa_db_user_account_selectspec() if I'm on any page on the website. I can call these functions without including any other files.
How does one know which functions you need to include the functions file and which functions are available for immediate use in the qa-theme.php? Does the qa-theme.php automatically inherit all the functions for a specific page if its on that page? Is there a list of global functions?