ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
setKeyword ($a_keyword) | |
getKeyword () | |
setKeywordLanguage (&$lng_obj) | |
& | getKeywordLanguage () |
getKeywordLanguageCode () | |
save () | |
update () | |
delete () | |
__getFields () | |
read () | |
toXML (&$writer) | |
setKeyword ($a_keyword) | |
getKeyword () | |
setKeywordLanguage (&$lng_obj) | |
& | getKeywordLanguage () |
getKeywordLanguageCode () | |
save () | |
update () | |
delete () | |
__getFields () | |
read () | |
toXML (&$writer) | |
_getIds ($a_rbac_id, $a_obj_id, $a_parent_id, $a_parent_type) | |
setKeyword ($a_keyword) | |
getKeyword () | |
setKeywordLanguage (&$lng_obj) | |
& | getKeywordLanguage () |
getKeywordLanguageCode () | |
save () | |
update () | |
delete () | |
__getFields () | |
read () | |
toXML (&$writer) | |
Public Member Functions inherited from ilMDBase | |
__construct ( $a_rbac_id=0, $a_obj_id=0, $a_type=0) | |
setRBACId ($a_id) | |
getRBACId () | |
setObjId ($a_id) | |
getObjId () | |
setObjType ($a_type) | |
getObjType () | |
setMetaId ($a_meta_id, $a_read_data=true) | |
getMetaId () | |
setParentType ($a_parent_type) | |
getParentType () | |
setParentId ($a_id) | |
getParentId () | |
setExportMode ($a_export_mode=true) | |
getExportMode () | |
validate () | |
update () | |
save () | |
delete () | |
toXML (&$writer) | |
__construct ( $a_rbac_id=0, $a_obj_id=0, $a_type=0) | |
setRBACId ($a_id) | |
getRBACId () | |
setObjId ($a_id) | |
getObjId () | |
setObjType ($a_type) | |
getObjType () | |
setMetaId ($a_meta_id, $a_read_data=true) | |
getMetaId () | |
setParentType ($a_parent_type) | |
getParentType () | |
setParentId ($a_id) | |
getParentId () | |
validate () | |
update () | |
save () | |
delete () | |
toXML (&$writer) | |
__construct ( $a_rbac_id=0, $a_obj_id=0, $a_type=0) | |
setRBACId ($a_id) | |
getRBACId () | |
setObjId ($a_id) | |
getObjId () | |
setObjType ($a_type) | |
getObjType () | |
setMetaId ($a_meta_id, $a_read_data=true) | |
getMetaId () | |
setParentType ($a_parent_type) | |
getParentType () | |
setParentId ($a_id) | |
getParentId () | |
setExportMode ($a_export_mode=true) | |
getExportMode () | |
validate () | |
update () | |
save () | |
delete () | |
toXML (&$writer) | |
Static Public Member Functions | |
static | _getIds ($a_rbac_id, $a_obj_id, $a_parent_id, $a_parent_type) |
static | _getKeywordsByLanguage ($a_rbac_id, $a_obj_id, $a_type) |
Get keywords by language. More... | |
static | _getKeywordsByLanguageAsString ($a_rbac_id, $a_obj_id, $a_type) |
Get keywords by language as string. More... | |
static | _searchKeywords ($a_query, $a_type, $a_rbac_id=0) |
Search for objects by keywords. More... | |
static | _getMatchingKeywords ($a_query, $a_type, $a_rbac_id=0) |
Search for keywords. More... | |
static | lookupKeywords ($a_rbac_id, $a_obj_id, $a_return_ids=false) |
Lookup Keywords. More... | |
static | updateKeywords (ilMDGeneral $a_md_section, array $a_keywords) |
Update keywords from input array. More... | |
static | _getIds ($a_rbac_id, $a_obj_id, $a_parent_id, $a_parent_type) |
static | _getKeywordsByLanguage ($a_rbac_id, $a_obj_id, $a_type) |
Get keywords by language. More... | |
static | _getKeywordsByLanguageAsString ($a_rbac_id, $a_obj_id, $a_type) |
Get keywords by language as string. More... | |
static | _searchKeywords ($a_query, $a_type, $a_rbac_id=0) |
Search for objects by keywords. More... | |
static | _getMatchingKeywords ($a_query, $a_type, $a_rbac_id=0) |
Search for keywords. More... | |
static | lookupKeywords ($a_rbac_id, $a_obj_id, $a_return_ids=false) |
Lookup Keywords. More... | |
static | updateKeywords (ilMDGeneral $a_md_section, array $a_keywords) |
Update keywords from input array. More... | |
Additional Inherited Members | |
Data Fields inherited from ilMDBase | |
$rbac_id | |
$obj_id | |
$obj_type | |
$export_mode = false | |
Protected Attributes inherited from ilMDBase | |
$log | |
Definition at line 33 of file class.ilMDKeyword.php.
ilMDKeyword::__getFields | ( | ) |
Definition at line 106 of file class.ilMDKeyword.php.
References getKeyword(), getKeywordLanguageCode(), ilMDBase\getObjId(), ilMDBase\getObjType(), ilMDBase\getParentId(), ilMDBase\getParentType(), ilMDBase\getRBACId(), and ilUtil\prepareDBString().
ilMDKeyword::__getFields | ( | ) |
Definition at line 110 of file class.ilMDKeyword.php.
References getKeyword(), getKeywordLanguageCode(), ilMDBase\getObjId(), ilMDBase\getObjType(), ilMDBase\getParentId(), ilMDBase\getParentType(), and ilMDBase\getRBACId().
ilMDKeyword::__getFields | ( | ) |
Definition at line 110 of file class.ilMDKeyword.php.
References getKeyword(), getKeywordLanguageCode(), ilMDBase\getObjId(), ilMDBase\getObjType(), ilMDBase\getParentId(), ilMDBase\getParentType(), and ilMDBase\getRBACId().
Referenced by save().
ilMDKeyword::_getIds | ( | $a_rbac_id, | |
$a_obj_id, | |||
$a_parent_id, | |||
$a_parent_type | |||
) |
Definition at line 153 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 165 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Definition at line 165 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMDClassification\getKeywordIds(), and ilMDGeneral\getKeywordIds().
|
static |
Get keywords by language.
public
int | rbac_id |
int | obj_id |
string | obj type |
Definition at line 195 of file class.ilMDKeyword.php.
References $a_type, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Get keywords by language.
public
int | rbac_id |
int | obj_id |
string | obj type |
Definition at line 195 of file class.ilMDKeyword.php.
References $a_type, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _getKeywordsByLanguageAsString().
|
static |
Get keywords by language as string.
public
int | rbac_id |
int | obj_id |
string | obj type |
Definition at line 225 of file class.ilMDKeyword.php.
References $a_type, and _getKeywordsByLanguage().
|
static |
Get keywords by language as string.
public
int | rbac_id |
int | obj_id |
string | obj type |
Definition at line 225 of file class.ilMDKeyword.php.
References $a_type, and _getKeywordsByLanguage().
Referenced by ilMDUtils\_fillHTMLMetaTags().
|
static |
Search for keywords.
string | $a_query | |
string | $a_type | |
int | $a_rbac_id | [optional] |
Definition at line 282 of file class.ilMDKeyword.php.
References $a_type, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMDEditorGUI\keywordAutocomplete().
|
static |
Search for keywords.
string | $a_query | |
string | $a_type | |
int | $a_rbac_id | [optional] |
Definition at line 282 of file class.ilMDKeyword.php.
References $a_type, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Search for objects by keywords.
string | $a_query | |
string | $a_type | |
int | $a_rbac_id | [optional] |
Definition at line 240 of file class.ilMDKeyword.php.
References $a_type, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
static |
Search for objects by keywords.
string | $a_query | |
string | $a_type | |
int | $a_rbac_id | [optional] |
Definition at line 240 of file class.ilMDKeyword.php.
References $a_type, $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjMediaPool\getMediaObjects().
ilMDKeyword::delete | ( | ) |
Definition at line 90 of file class.ilMDKeyword.php.
References $ilDB, $query, and ilMDBase\getMetaId().
ilMDKeyword::delete | ( | ) |
Definition at line 93 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, and ilMDBase\getMetaId().
ilMDKeyword::delete | ( | ) |
Definition at line 93 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, and ilMDBase\getMetaId().
ilMDKeyword::getKeyword | ( | ) |
Definition at line 40 of file class.ilMDKeyword.php.
Referenced by __getFields(), and toXML().
ilMDKeyword::getKeyword | ( | ) |
Definition at line 40 of file class.ilMDKeyword.php.
ilMDKeyword::getKeyword | ( | ) |
Definition at line 40 of file class.ilMDKeyword.php.
& ilMDKeyword::getKeywordLanguage | ( | ) |
Definition at line 50 of file class.ilMDKeyword.php.
& ilMDKeyword::getKeywordLanguage | ( | ) |
Definition at line 50 of file class.ilMDKeyword.php.
& ilMDKeyword::getKeywordLanguage | ( | ) |
Definition at line 50 of file class.ilMDKeyword.php.
ilMDKeyword::getKeywordLanguageCode | ( | ) |
Definition at line 54 of file class.ilMDKeyword.php.
Referenced by __getFields(), and toXML().
ilMDKeyword::getKeywordLanguageCode | ( | ) |
Definition at line 54 of file class.ilMDKeyword.php.
ilMDKeyword::getKeywordLanguageCode | ( | ) |
Definition at line 54 of file class.ilMDKeyword.php.
|
static |
Lookup Keywords.
object | $a_rbac_id | |
object | $a_obj_id | |
bool | $a_return_kw |
Definition at line 310 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjMediaObjectGUI\_getMediaInfoHTML(), and ilBlogPosting\getKeywords().
|
static |
Lookup Keywords.
object | $a_rbac_id | |
object | $a_obj_id | |
bool | $a_return_kw |
Definition at line 310 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
ilMDKeyword::read | ( | ) |
Definition at line 117 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, ilMDBase\getMetaId(), setKeyword(), setKeywordLanguage(), ilMDBase\setObjId(), ilMDBase\setObjType(), ilMDBase\setParentId(), ilMDBase\setParentType(), ilMDBase\setRBACId(), and ilUtil\stripSlashes().
ilMDKeyword::read | ( | ) |
Definition at line 121 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, ilMDBase\getMetaId(), setKeyword(), setKeywordLanguage(), ilMDBase\setObjId(), ilMDBase\setObjType(), ilMDBase\setParentId(), ilMDBase\setParentType(), and ilMDBase\setRBACId().
ilMDKeyword::read | ( | ) |
Definition at line 121 of file class.ilMDKeyword.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, ilMDBase\getMetaId(), setKeyword(), setKeywordLanguage(), ilMDBase\setObjId(), ilMDBase\setObjType(), ilMDBase\setParentId(), ilMDBase\setParentType(), and ilMDBase\setRBACId().
ilMDKeyword::save | ( | ) |
Definition at line 59 of file class.ilMDKeyword.php.
References $DIC, $ilDB, __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().
ilMDKeyword::save | ( | ) |
Definition at line 59 of file class.ilMDKeyword.php.
References ilDBConstants\AUTOQUERY_INSERT, ilMDBase\getMetaId(), and ilMDBase\setMetaId().
ilMDKeyword::save | ( | ) |
Definition at line 59 of file class.ilMDKeyword.php.
References $DIC, $ilDB, __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().
ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 36 of file class.ilMDKeyword.php.
Referenced by read().
ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 36 of file class.ilMDKeyword.php.
ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 36 of file class.ilMDKeyword.php.
ilMDKeyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 44 of file class.ilMDKeyword.php.
ilMDKeyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 44 of file class.ilMDKeyword.php.
ilMDKeyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 44 of file class.ilMDKeyword.php.
Referenced by read().
ilMDKeyword::toXML | ( | & | $writer | ) |
Definition at line 146 of file class.ilMDKeyword.php.
References getKeyword(), and getKeywordLanguageCode().
ilMDKeyword::toXML | ( | & | $writer | ) |
Definition at line 152 of file class.ilMDKeyword.php.
References getKeyword(), and getKeywordLanguageCode().
ilMDKeyword::toXML | ( | & | $writer | ) |
Definition at line 152 of file class.ilMDKeyword.php.
References getKeyword(), and getKeywordLanguageCode().
ilMDKeyword::update | ( | ) |
Definition at line 73 of file class.ilMDKeyword.php.
References $ilDB, ilDBConstants\AUTOQUERY_UPDATE, and ilMDBase\getMetaId().
ilMDKeyword::update | ( | ) |
Definition at line 75 of file class.ilMDKeyword.php.
References $DIC, $ilDB, and ilMDBase\getMetaId().
ilMDKeyword::update | ( | ) |
Definition at line 75 of file class.ilMDKeyword.php.
References $DIC, $ilDB, and ilMDBase\getMetaId().
|
static |
Update keywords from input array.
ilMDGeneral | $a_md_section | |
array | $a_keywords | lang => keywords |
Definition at line 337 of file class.ilMDKeyword.php.
References $id, $lang, ilMDGeneral\addKeyword(), ilMDGeneral\getKeyword(), ilMDGeneral\getKeywordIds(), and ilUtil\stripSlashes().
Referenced by ilBlogPosting\updateKeywords(), and ilMDEditorGUI\updateQuickEdit().
|
static |
Update keywords from input array.
ilMDGeneral | $a_md_section | |
array | $a_keywords | lang => keywords |
Definition at line 337 of file class.ilMDKeyword.php.
References $id, $lang, ilMDGeneral\addKeyword(), ilMDGeneral\getKeyword(), ilMDGeneral\getKeywordIds(), and ilUtil\stripSlashes().