__construct()
__construct() :
KEYWORD class
KEYWORD common routines
grabAll( userBib = FALSE, kType = FALSE, typeArray = FALSE) : mixed||string|int
Get keyword names from WKX_keyword.
userBib | FALSE (default) or TRUE (return only resource types within current user bibliography) |
|
kType | FALSE (default) or metadata type or metadata array ('quote', 'paraphrase' etc). Gather only keywords attached to metadata |
|
typeArray | FALSE (default) or limits keywords to those belonging to these types (only when table == 'resource_keyword') |
id => keyword or FALSE
writeKeywordTable(mixed||string|int inputArray, id = FALSE) :
Write names to keyword table and return keyword id array ready for adding to resource_keyword.resourcekeywordKeywordId fields.
mixed||string|int | inputArray | |
id | Default is FALSE |
FALSE or array of keyword IDs