KEYWORD common routines
version | 1 |
---|---|
package | wikindx4\core\keyword |
author | Mark Grimshaw |
__construct()
checkExists(string $keyword)
string
return mixed Existing keyword ID of FALSE
grabAll(boolean $userBib, mixed $kType, $typeArray) : array
boolean
FALSE (default) or TRUE (return only resource types within current user bibliography)
mixed
FALSE (default) or metadata type or metadata array ('quote', 'paraphrase' etc). Gather only keywords attached to metadata
FALSE (default) or limits keywords to those belonging to these types (only when table == 'resource_keyword')
array
id => keyword or FALSEremoveHanging()
transferArrows() : array
array
(toRightImage, toLeftImage)writeKeywordTable(array $inputArray, mixed $id) : mixed
todo | Check if $id is actually needed at all |
---|
array
mixed
Default is FALSE
mixed
FALSE or array of keyword IDs$commonBib
$db
$html