TYPE
in package
RESOURCE TYPE
Handle resource types
Table of Contents
Methods
- __construct() : mixed
- RESOURCE TYPE
- grabAll() : mixed
- Get resource types for which resources exist in database
Methods
__construct()
RESOURCE TYPE
public
__construct() : mixed
grabAll()
Get resource types for which resources exist in database
public
grabAll([bool $userBib = false ][, mixed $metadata = [] ]) : mixed
Parameters
- $userBib : bool = false
-
FALSE (default) or TRUE (return only resource types within current user bibliography)
- $metadata : mixed = []
-
FALSE or array of metadata fields ('quote', 'quoteComment' etc.) which returned resource types must have. Default is []
Return values
mixed —FALSE|array