|
ILIAS
Release_5_0_x_branch Revision 61816
|
Inheritance diagram for ilMDKeyword:
Collaboration diagram for ilMDKeyword:Public Member Functions | |
| ilMDKeyword ($a_rbac_id=0, $a_obj_id=0, $a_obj_type= '') | |
| 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) | |
| ilMDKeyword ($a_rbac_id=0, $a_obj_id=0, $a_obj_type= '') | |
| 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) | |
Public Member Functions inherited from ilMDBase | |
| ilMDBase ($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 () | |
| ilMDBase ($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 () | |
Static Public Member Functions | |
| static | _getKeywordsByLanguage ($a_rbac_id, $a_obj_id, $a_type) |
| Get keywords by language. | |
| static | _getKeywordsByLanguageAsString ($a_rbac_id, $a_obj_id, $a_type) |
| Get keywords by language as string. | |
| static | _searchKeywords ($a_query, $a_type, $a_rbac_id=0) |
| Search for objects by keywords. | |
| static | _getMatchingKeywords ($a_query, $a_type, $a_rbac_id=0) |
| Search for keywords. | |
| static | lookupKeywords ($a_rbac_id, $a_obj_id, $a_return_ids=false) |
| Lookup Keywords. | |
| static | updateKeywords (ilMDGeneral $a_md_section, array $a_keywords) |
| Update keywords from input array. | |
Additional Inherited Members | |
Data Fields inherited from ilMDBase | |
| $rbac_id | |
| $obj_id | |
| $obj_type | |
| $export_mode = false | |
Definition at line 33 of file class.ilMDKeyword.php.
| ilMDKeyword::__getFields | ( | ) |
Definition at line 114 of file class.ilMDKeyword.php.
References getKeyword(), getKeywordLanguageCode(), ilMDBase\getObjId(), ilMDBase\getObjType(), ilMDBase\getParentId(), ilMDBase\getParentType(), and ilMDBase\getRBACId().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMDKeyword::__getFields | ( | ) |
Definition at line 114 of file class.ilMDKeyword.php.
References getKeyword(), getKeywordLanguageCode(), ilMDBase\getObjId(), ilMDBase\getObjType(), ilMDBase\getParentId(), ilMDBase\getParentType(), ilMDBase\getRBACId(), and ilUtil\prepareDBString().
Here is the call graph for this function:| ilMDKeyword::_getIds | ( | $a_rbac_id, | |
| $a_obj_id, | |||
| $a_parent_id, | |||
| $a_parent_type | |||
| ) |
Definition at line 163 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
| ilMDKeyword::_getIds | ( | $a_rbac_id, | |
| $a_obj_id, | |||
| $a_parent_id, | |||
| $a_parent_type | |||
| ) |
Definition at line 166 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilMDGeneral\getKeywordIds().
Here is the caller graph for this function:
|
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 $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by _getKeywordsByLanguageAsString().
Here is the caller graph for this function:
|
static |
Get keywords by language as string.
public
| int | rbac_id |
| int | obj_id |
| string | obj type |
Definition at line 224 of file class.ilMDKeyword.php.
References _getKeywordsByLanguage().
Referenced by ilMDUtils\_fillHTMLMetaTags().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Search for keywords.
| string | $a_query | |
| string | $a_type | |
| int | $a_rbac_id | [optional] |
Definition at line 286 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilMDEditorGUI\keywordAutocomplete(), and ilBlogPostingGUI\keywordAutocomplete().
Here is the caller graph for this function:
|
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 $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjMediaPool\getMediaObjects().
Here is the caller graph for this function:| ilMDKeyword::delete | ( | ) |
Reimplemented from ilMDBase.
Definition at line 97 of file class.ilMDKeyword.php.
References $ilDB, $query, and ilMDBase\getMetaId().
Here is the call graph for this function:| ilMDKeyword::delete | ( | ) |
Reimplemented from ilMDBase.
Definition at line 98 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, and ilMDBase\getMetaId().
Here is the call graph for this function:| ilMDKeyword::getKeyword | ( | ) |
Definition at line 47 of file class.ilMDKeyword.php.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:| ilMDKeyword::getKeyword | ( | ) |
Definition at line 47 of file class.ilMDKeyword.php.
| & ilMDKeyword::getKeywordLanguage | ( | ) |
Definition at line 58 of file class.ilMDKeyword.php.
| & ilMDKeyword::getKeywordLanguage | ( | ) |
Definition at line 58 of file class.ilMDKeyword.php.
| ilMDKeyword::getKeywordLanguageCode | ( | ) |
Definition at line 62 of file class.ilMDKeyword.php.
| ilMDKeyword::getKeywordLanguageCode | ( | ) |
Definition at line 62 of file class.ilMDKeyword.php.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:| ilMDKeyword::ilMDKeyword | ( | $a_rbac_id = 0, |
|
$a_obj_id = 0, |
|||
$a_obj_type = '' |
|||
| ) |
Definition at line 35 of file class.ilMDKeyword.php.
References ilMDBase\ilMDBase().
Here is the call graph for this function:| ilMDKeyword::ilMDKeyword | ( | $a_rbac_id = 0, |
|
$a_obj_id = 0, |
|||
$a_obj_type = '' |
|||
| ) |
Definition at line 35 of file class.ilMDKeyword.php.
References ilMDBase\ilMDBase().
Here is the call graph for this function:
|
static |
Lookup Keywords.
| object | $a_rbac_id | |
| object | $a_obj_id | |
| bool | $a_return_kw |
Definition at line 314 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjMediaObjectGUI\_getMediaInfoHTML(), and ilBlogPosting\getKeywords().
Here is the caller graph for this function:| ilMDKeyword::read | ( | ) |
Definition at line 125 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, ilMDBase\getMetaId(), setKeyword(), setKeywordLanguage(), ilMDBase\setObjId(), ilMDBase\setObjType(), ilMDBase\setParentId(), ilMDBase\setParentType(), and ilMDBase\setRBACId().
Here is the call graph for this function:| ilMDKeyword::read | ( | ) |
Definition at line 125 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, ilMDBase\getMetaId(), setKeyword(), setKeywordLanguage(), ilMDBase\setObjId(), ilMDBase\setObjType(), ilMDBase\setParentId(), ilMDBase\setParentType(), ilMDBase\setRBACId(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilMDKeyword::save | ( | ) |
Reimplemented from ilMDBase.
Definition at line 67 of file class.ilMDKeyword.php.
References ilMDBase\getMetaId(), and ilMDBase\setMetaId().
Here is the call graph for this function:| ilMDKeyword::save | ( | ) |
Reimplemented from ilMDBase.
Definition at line 67 of file class.ilMDKeyword.php.
References $ilDB, __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().
Here is the call graph for this function:| ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 43 of file class.ilMDKeyword.php.
Referenced by read().
Here is the caller graph for this function:| ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 43 of file class.ilMDKeyword.php.
| ilMDKeyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 51 of file class.ilMDKeyword.php.
Referenced by read().
Here is the caller graph for this function:| ilMDKeyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 51 of file class.ilMDKeyword.php.
| ilMDKeyword::toXML | ( | & | $writer | ) |
Reimplemented from ilMDBase.
Definition at line 156 of file class.ilMDKeyword.php.
References getKeyword(), and getKeywordLanguageCode().
Here is the call graph for this function:| ilMDKeyword::toXML | ( | & | $writer | ) |
Reimplemented from ilMDBase.
Definition at line 156 of file class.ilMDKeyword.php.
References getKeyword(), and getKeywordLanguageCode().
Here is the call graph for this function:| ilMDKeyword::update | ( | ) |
Reimplemented from ilMDBase.
Definition at line 80 of file class.ilMDKeyword.php.
References $ilDB, and ilMDBase\getMetaId().
Here is the call graph for this function:| ilMDKeyword::update | ( | ) |
Reimplemented from ilMDBase.
Definition at line 82 of file class.ilMDKeyword.php.
References $ilDB, and ilMDBase\getMetaId().
Here is the call graph for this function:
|
static |
Update keywords from input array.
| ilMDGeneral | $a_md_section | |
| array | $a_keywords | lang => keywords |
Definition at line 344 of file class.ilMDKeyword.php.
References $lang, ilMDGeneral\addKeyword(), ilMDGeneral\getKeyword(), ilMDGeneral\getKeywordIds(), and ilUtil\stripSlashes().
Referenced by ilMDEditorGUI\updateQuickEdit().
Here is the call graph for this function:
Here is the caller graph for this function: