RESOURCE TYPE

Handle resource types

version 1
package wikindx4\core\type
author Mark Grimshaw

 Methods

RESOURCE TYPE

__construct() 

Get resource types for which resources exist in database

grabAll(boolean $userBib, mixed $metadata) : mixed

Parameters

$userBib

boolean

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 array()

Returns

mixedFALSE|array

 Properties

 

$commonBib 
 

$db 
 

$messages