ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
setKeyword ($a_keyword) | |
getKeyword () | |
setKeywordLanguage (&$lng_obj) | |
& | getKeywordLanguage () |
getKeywordLanguageCode () | |
save () | |
update () | |
delete () | |
__getFields () | |
read () | |
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 (ilMD5295General $a_md_section, array $a_keywords) |
Update keywords from input array. More... | |
Additional Inherited Members | |
![]() | |
$rbac_id | |
$obj_id | |
$obj_type | |
$export_mode = false | |
![]() | |
$log | |
Definition at line 33 of file class.ilMD5295Keyword.php.
ilMD5295Keyword::__getFields | ( | ) |
Definition at line 110 of file class.ilMD5295Keyword.php.
References getKeyword(), getKeywordLanguageCode(), ilMD5295Base\getObjId(), ilMD5295Base\getObjType(), ilMD5295Base\getParentId(), ilMD5295Base\getParentType(), and ilMD5295Base\getRBACId().
Referenced by save().
|
static |
Definition at line 165 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMD5295Classification\getKeywordIds(), and ilMD5295General\getKeywordIds().
|
static |
Get keywords by language.
public
int | rbac_id |
int | obj_id |
string | obj type |
Definition at line 195 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, $query, $res, 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.ilMD5295Keyword.php.
References _getKeywordsByLanguage().
|
static |
Search for keywords.
string | $a_query | |
string | $a_type | |
int | $a_rbac_id | [optional] |
Definition at line 282 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, $query, $res, 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.ilMD5295Keyword.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
ilMD5295Keyword::delete | ( | ) |
Definition at line 93 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, $query, $res, and ilMD5295Base\getMetaId().
ilMD5295Keyword::getKeyword | ( | ) |
Definition at line 40 of file class.ilMD5295Keyword.php.
Referenced by __getFields(), and toXML().
& ilMD5295Keyword::getKeywordLanguage | ( | ) |
Definition at line 50 of file class.ilMD5295Keyword.php.
ilMD5295Keyword::getKeywordLanguageCode | ( | ) |
Definition at line 54 of file class.ilMD5295Keyword.php.
Referenced by __getFields(), and toXML().
|
static |
Lookup Keywords.
object | $a_rbac_id | |
object | $a_obj_id | |
bool | $a_return_kw |
Definition at line 310 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.
ilMD5295Keyword::read | ( | ) |
Definition at line 121 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilMD5295Base\getMetaId(), setKeyword(), setKeywordLanguage(), ilMD5295Base\setObjId(), ilMD5295Base\setObjType(), ilMD5295Base\setParentId(), ilMD5295Base\setParentType(), and ilMD5295Base\setRBACId().
ilMD5295Keyword::save | ( | ) |
Definition at line 59 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, __getFields(), ilMD5295Base\getMetaId(), and ilMD5295Base\setMetaId().
ilMD5295Keyword::setKeyword | ( | $a_keyword | ) |
Definition at line 36 of file class.ilMD5295Keyword.php.
Referenced by read().
ilMD5295Keyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 44 of file class.ilMD5295Keyword.php.
Referenced by read().
ilMD5295Keyword::toXML | ( | & | $writer | ) |
Definition at line 152 of file class.ilMD5295Keyword.php.
References getKeyword(), and getKeywordLanguageCode().
ilMD5295Keyword::update | ( | ) |
Definition at line 75 of file class.ilMD5295Keyword.php.
References $DIC, $ilDB, and ilMD5295Base\getMetaId().
|
static |
Update keywords from input array.
ilMD5295General | $a_md_section | |
array | $a_keywords | lang => keywords |
Definition at line 337 of file class.ilMD5295Keyword.php.
References $lang, ilMD5295General\addKeyword(), ilMD5295General\getKeyword(), ilMD5295General\getKeywordIds(), and ilUtil\stripSlashes().