ILIAS
eassessment Revision 61809
|
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 keywords. | |
static | lookupKeywords ($a_rbac_id, $a_obj_id) |
Lookup Keywords. |
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().
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().
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().
|
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().
|
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().
|
static |
Search for keywords.
string | $a_query | |
int | $a_rbac_id | [optional] |
Definition at line 239 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjMediaPool\getMediaObjects().
ilMDKeyword::delete | ( | ) |
Reimplemented from ilMDBase.
Definition at line 97 of file class.ilMDKeyword.php.
References $ilDB, $query, and ilMDBase\getMetaId().
ilMDKeyword::delete | ( | ) |
Reimplemented from ilMDBase.
Definition at line 98 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, and ilMDBase\getMetaId().
ilMDKeyword::getKeyword | ( | ) |
Definition at line 47 of file class.ilMDKeyword.php.
Referenced by __getFields(), and toXML().
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().
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().
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().
|
static |
Lookup Keywords.
object | $a_rbac_id | |
object | $a_obj_id | |
object | $a_type |
Definition at line 283 of file class.ilMDKeyword.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilMediaPoolTableGUI\fillRow().
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().
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().
ilMDKeyword::save | ( | ) |
Reimplemented from ilMDBase.
Definition at line 67 of file class.ilMDKeyword.php.
References ilMDBase\getMetaId(), and ilMDBase\setMetaId().
ilMDKeyword::save | ( | ) |
Reimplemented from ilMDBase.
Definition at line 67 of file class.ilMDKeyword.php.
References $ilDB, __getFields(), ilMDBase\getMetaId(), and ilMDBase\setMetaId().
ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 43 of file class.ilMDKeyword.php.
ilMDKeyword::setKeyword | ( | $a_keyword | ) |
Definition at line 43 of file class.ilMDKeyword.php.
Referenced by read().
ilMDKeyword::setKeywordLanguage | ( | & | $lng_obj | ) |
Definition at line 51 of file class.ilMDKeyword.php.
Referenced by read().
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().
ilMDKeyword::toXML | ( | & | $writer | ) |
Reimplemented from ilMDBase.
Definition at line 156 of file class.ilMDKeyword.php.
References getKeyword(), and getKeywordLanguageCode().
ilMDKeyword::update | ( | ) |
Reimplemented from ilMDBase.
Definition at line 80 of file class.ilMDKeyword.php.
References $ilDB, and ilMDBase\getMetaId().
ilMDKeyword::update | ( | ) |
Reimplemented from ilMDBase.
Definition at line 82 of file class.ilMDKeyword.php.
References $ilDB, and ilMDBase\getMetaId().