PlgFinderCategories::getStateQuery

Method to get a SQL query to load the published and access states for an article and category.