Common methods for categories
version | 1 |
---|---|
package | wikindx4\core\category |
author | Mark Grimshaw |
__construct()
grabAll(boolean $userBib, boolean $extant, mixed $typeArray, boolean $withGeneral) : mixed
Return associative array of id => category.
boolean
FALSE (default) or TRUE (return only resource types within current user bibliography)
boolean
FALSE (default) or TRUE (return only categories for which resources exist)
mixed
FALSE (default) or limits categories to those belonging to these types
boolean
FALSE (default) or include 'General' category in returned array
mixed
associative array or FALSEgrabSubAll(boolean $withCategory, boolean $userBib, mixed $matchCategoryIds, boolean | boolean $extant) : mixed
Return associative array of id => subcategory.
boolean
FALSE (default) or TRUE (return list of subcategories repended by their relevant category name)
boolean
FALSE (default) or TRUE (return only resource types within current user bibliography)
mixed
FALSE (default) or array of category IDs (returned subcategories must belong to those categories)
boolean
boolean
FALSE (default) or TRUE (return only resource types for which resources exist)
mixed
associative array or FALSEtransferArrowsCat() : array
array
(toRightImage, toLeftImage)transferArrowsCatUpDown() : array
array
(toRightImage, toLeftImage)transferArrowsSubcat() : array
array
(toRightImage, toLeftImage)transferArrowsSubcatUpDown() : array
array
(toRightImage, toLeftImage)$commonBib
$db
$html