|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilMDKeyword:
Collaboration diagram for ilMDKeyword: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) | |
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) | |
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... | |
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 104 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 106 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:
|
static |
Definition at line 157 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilMDClassification\getKeywordIds(), and ilMDGeneral\getKeywordIds().
Here is the caller graph for this function:| 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 |
Get keywords by language.
@access public
| int | rbac_id |
| int | obj_id |
| string | obj type |
Definition at line 185 of file class.ilMDKeyword.php.
References $a_type, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by _getKeywordsByLanguageAsString().
Here is the caller graph for this function:
|
static |
Get keywords by language as string.
@access public
| int | rbac_id |
| int | obj_id |
| string | obj type |
Definition at line 212 of file class.ilMDKeyword.php.
References $a_type, and _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 267 of file class.ilMDKeyword.php.
References $a_type, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilBlogPostingGUI\keywordAutocomplete(), and ilMDEditorGUI\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 227 of file class.ilMDKeyword.php.
References $a_type, $counter, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjMediaPool\getMediaObjects().
Here is the caller graph for this function:| ilMDKeyword::delete | ( | ) |
Reimplemented from ilMDBase.
Definition at line 89 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, and ilMDBase\getMetaId().
Here is the call graph for this function:| ilMDKeyword::delete | ( | ) |
Reimplemented from ilMDBase.
Definition at line 90 of file class.ilMDKeyword.php.
References $ilDB, $query, and ilMDBase\getMetaId().
Here is the call graph for this function:| ilMDKeyword::getKeyword | ( | ) |
Definition at line 40 of file class.ilMDKeyword.php.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:| 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::getKeywordLanguageCode | ( | ) |
Definition at line 54 of file class.ilMDKeyword.php.
Referenced by __getFields(), and toXML().
Here is the caller graph for this function:| 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 293 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilObjMediaObjectGUI\_getMediaInfoHTML(), and ilBlogPosting\getKeywords().
Here is the caller graph for this function:| ilMDKeyword::read | ( | ) |
Definition at line 115 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(), and ilMDBase\setRBACId().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilMDKeyword::save | ( | ) |
Reimplemented from ilMDBase.
Definition at line 59 of file class.ilMDKeyword.php.
References $ilDB, __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().
Here is the call graph for this function:| ilMDKeyword::save | ( | ) |
Reimplemented from ilMDBase.
Definition at line 59 of file class.ilMDKeyword.php.
References ilMDBase\getMetaId(), ilDBConstants\MDB2_AUTOQUERY_INSERT, and ilMDBase\setMetaId().
Here is the call graph for this function:| ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 36 of file class.ilMDKeyword.php.
Referenced by read().
Here is the caller graph for this function:| 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.
Referenced by read().
Here is the caller graph for this function:| ilMDKeyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 44 of file class.ilMDKeyword.php.
| ilMDKeyword::toXML | ( | & | $writer | ) |
Reimplemented from ilMDBase.
Definition at line 144 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 146 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 73 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 73 of file class.ilMDKeyword.php.
References $ilDB, ilMDBase\getMetaId(), and ilDBConstants\MDB2_AUTOQUERY_UPDATE.
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 318 of file class.ilMDKeyword.php.
References $id, $lang, ilMDGeneral\addKeyword(), ilMDGeneral\getKeyword(), ilMDGeneral\getKeywordIds(), and ilUtil\stripSlashes().
Referenced by ilBlogPosting\updateKeywords(), and ilMDEditorGUI\updateQuickEdit().
Here is the call graph for this function:
Here is the caller graph for this function: