__construct()
__construct() :
CATEGORY
Common methods for categories
grabAll( userBib = FALSE, extant = FALSE, typeArray = FALSE, withGeneral = TRUE) :
Get category names from WKX_category. Return associative array of id => category.
userBib | FALSE (default) or TRUE (return only resource types within current user bibliography) |
|
extant | FALSE (default) or TRUE (return only categories for which resources exist) |
|
typeArray | FALSE (default) or limits categories to those belonging to these types |
|
withGeneral | FALSE (default) or include 'General' category in returned array |
associative array or FALSE
grabSubAll( withCategory = FALSE, userBib = FALSE, matchCategoryIds = FALSE, extant = FALSE) :
Get subcategory names from WKX_subcategory. Return associative array of id => subcategory.
withCategory | FALSE (default) or TRUE (return list of subcategories repended by their relevant category name) |
|
userBib | FALSE (default) or TRUE (return only resource types within current user bibliography) |
|
matchCategoryIds | FALSE (default) or array of category IDs (returned subcategories must belong to those categories) |
|
extant | FALSE (default) or TRUE (return only subcategories for which resources exist) |
associative array or FALSE