ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilObjGlossary. More...
Public Member Functions | |
__construct ($a_id=0, $a_call_by_reference=true) | |
Constructor public. More... | |
create ($a_upload=false) | |
create glossary object More... | |
read () | |
read data of content object More... | |
getDescription () | |
get description of glossary object More... | |
setDescription ($a_description) | |
set description of glossary object More... | |
setVirtualMode ($a_mode) | |
set glossary type (virtual: fixed/level/subtree, normal:none) More... | |
getVirtualMode () | |
get glossary type (normal or virtual) More... | |
isVirtual () | |
returns true if glossary type is virtual (any mode) More... | |
getTitle () | |
get title of glossary object More... | |
setTitle ($a_title) | |
set title of glossary object More... | |
setPresentationMode ($a_val) | |
Set presentation mode. More... | |
getPresentationMode () | |
Get presentation mode. More... | |
setSnippetLength ($a_val) | |
Set snippet length. More... | |
getSnippetLength () | |
Get snippet length. More... | |
setOnline ($a_online) | |
getOnline () | |
setActiveGlossaryMenu ($a_act_glo_menu) | |
isActiveGlossaryMenu () | |
setActiveDownloads ($a_down) | |
isActiveDownloads () | |
getStyleSheetId () | |
Get ID of assigned style sheet object. More... | |
setStyleSheetId ($a_style_id) | |
Set ID of assigned style sheet object. More... | |
setShowTaxonomy ($a_val) | |
Set show taxonomy. More... | |
getShowTaxonomy () | |
Get show taxonomy. More... | |
setAutoGlossaries ($a_val) | |
Set auto glossaries. More... | |
getAutoGlossaries () | |
Get auto glossaries. More... | |
removeAutoGlossary ($a_glo_id) | |
Remove auto glossary. More... | |
update () | |
Update object. More... | |
updateAutoGlossaries () | |
Update auto glossaries. More... | |
getTermList ($searchterm="", $a_letter="", $a_def="", $a_tax_node=0, $a_include_offline_childs=false, $a_add_amet_fields=false, array $a_amet_filter=null, $a_omit_virtual=false, $a_include_references=false) | |
Get term list. More... | |
getFirstLetters ($a_tax_node=0) | |
Get term list. More... | |
getAllGlossaryIds ($a_include_offline_childs=false) | |
Get all glossary ids. More... | |
createImportDirectory () | |
creates data directory for import files (data_dir/glo_data/glo_<id>/import, depending on data directory that is set in ILIAS setup/ini) More... | |
getImportDirectory () | |
get import directory of glossary More... | |
createExportDirectory ($a_type="xml") | |
Creates export directory. More... | |
getExportDirectory ($a_type="xml") | |
Get export directory of glossary. More... | |
getExportFiles () | |
Get export files. More... | |
setPublicExportFile ($a_type, $a_file) | |
specify public export file for type More... | |
getPublicExportFile ($a_type) | |
get public export file More... | |
exportHTML ($a_target_dir, $log) | |
export html package More... | |
exportHTMLGlossaryTerms (&$a_glo_gui, $a_target_dir) | |
export glossary terms More... | |
exportHTMLMOB ($a_target_dir, &$a_glo_gui, $a_mob_id) | |
export media object to html More... | |
exportHTMLFile ($a_target_dir, $a_file_id) | |
export file object More... | |
exportXML (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
export object to xml (see ilias_co.dtd) More... | |
exportXMLGlossaryItems (&$a_xml_writer, $a_inst, &$expLog) | |
export page objects to xml (see ilias_co.dtd) More... | |
exportXMLMetaData (&$a_xml_writer) | |
export content objects meta data to xml (see ilias_co.dtd) More... | |
exportXMLMediaObjects (&$a_xml_writer, $a_inst, $a_target_dir, &$expLog) | |
export media objects to xml (see ilias_co.dtd) More... | |
exportFileItems ($a_target_dir, &$expLog) | |
export files of file itmes More... | |
modifyExportIdentifier ($a_tag, $a_param, $a_value) | |
delete () | |
delete glossary and all related data More... | |
getXMLZip () | |
Get zipped xml file for glossary. More... | |
getTaxonomyId () | |
Get taxonomy. More... | |
cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | |
Clone glossary. More... | |
removeOfflineGlossaries ($a_glo_ids) | |
Remove offline glossaries from obj id array. More... | |
autoLinkGlossaryTerms ($a_glo_id) | |
Auto link glossary terms. More... | |
Public Member Functions inherited from ilObject | |
__construct ($a_id=0, $a_reference=true) | |
Constructor public. More... | |
withReferences () | |
determines wehter objects are referenced or not (got ref ids or not) More... | |
read () | |
read object data from db into object More... | |
getId () | |
get object id public More... | |
setId ($a_id) | |
set object id public More... | |
setRefId ($a_id) | |
set reference id public More... | |
getRefId () | |
get reference id public More... | |
getType () | |
get object type public More... | |
setType ($a_type) | |
set object type public More... | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
get object title public More... | |
getUntranslatedTitle () | |
get untranslated object title public More... | |
setTitle ($a_title) | |
set object title More... | |
getDescription () | |
get object description More... | |
setDescription ($a_desc) | |
set object description More... | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
get import id More... | |
setImportId ($a_import_id) | |
set import id More... | |
getOwner () | |
get object owner More... | |
getOwnerName () | |
setOwner ($a_owner) | |
set object owner More... | |
getCreateDate () | |
get create date public More... | |
getLastUpdateDate () | |
get last update date public More... | |
getDiskUsage () | |
Gets the disk usage of the object in bytes. More... | |
create () | |
create More... | |
update () | |
update object in db More... | |
MDUpdateListener ($a_element) | |
Meta data update listener. More... | |
createMetaData () | |
create meta data entry More... | |
updateMetaData () | |
update meta data entry More... | |
deleteMetaData () | |
delete meta data entry More... | |
updateOwner () | |
update owner of object in db More... | |
putInTree ($a_parent_ref) | |
maybe this method should be in tree object!? More... | |
setPermissions ($a_parent_ref) | |
set permissions of object More... | |
setParentRolePermissions ($a_parent_ref) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
count references of object More... | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public More... | |
applyDidacticTemplate ($a_tpl_id) | |
Apply template. More... | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
getXMLZip () | |
getHTMLDirectory () | |
cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | |
Clone object permissions, put in tree ... More... | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies ($a_target_id, $a_copy_id) | |
Clone object dependencies. More... | |
cloneMetaData ($target_obj) | |
Copy meta data. More... | |
getPossibleSubObjects ($a_filter=true) | |
get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | _lookupOnline ($a_id) |
check wether content object is online More... | |
static | lookupSnippetLength ($a_id) |
Lookup snippet length. More... | |
static | lookupAutoGlossaries ($a_id) |
Lookup auto glossaries. More... | |
static | getDeletionDependencies ($a_obj_id) |
Get deletion dependencies. More... | |
static | getAdvMDSubItemTitle ($a_obj_id, $a_sub_type, $a_sub_id) |
Static Public Member Functions inherited from ilObject | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _lookupImportId ($a_obj_id) |
static | _lookupOwnerName ($a_owner_id) |
lookup owner name for owner id More... | |
static | _getIdForImportId ($a_import_id) |
get current object id for import id (static) More... | |
static | _getAllReferences ($a_id) |
get all reference ids of object More... | |
static | _lookupTitle ($a_id) |
lookup object title More... | |
static | _lookupOwner ($a_id) |
lookup object owner More... | |
static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
static | _lookupDescription ($a_id) |
lookup object description More... | |
static | _lookupLastUpdate ($a_id, $a_as_string=false) |
lookup last update More... | |
static | _getLastUpdateOfObjects ($a_objs) |
Get last update for a set of media objects. More... | |
static | _lookupObjId ($a_id) |
static | _setDeletedDate ($a_ref_id) |
only called in ilTree::saveSubTree More... | |
static | setDeletedDates ($a_ref_ids) |
Set deleted date type $ilDB. More... | |
static | _resetDeletedDate ($a_ref_id) |
only called in ilObjectGUI::insertSavedNodes More... | |
static | _lookupDeletedDate ($a_ref_id) |
only called in ilObjectGUI::insertSavedNodes More... | |
static | _writeTitle ($a_obj_id, $a_title) |
write title to db (static) More... | |
static | _writeDescription ($a_obj_id, $a_desc) |
write description to db (static) More... | |
static | _writeImportId ($a_obj_id, $a_import_id) |
write import id to db (static) More... | |
static | _lookupType ($a_id, $a_reference=false) |
lookup object type More... | |
static | _isInTrash ($a_ref_id) |
checks wether object is in trash More... | |
static | _hasUntrashedReference ($a_obj_id) |
checks wether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId ($a_ref_id) |
lookup object id More... | |
static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
get all objects of a certain type More... | |
static | _exists ($a_id, $a_reference=false, $a_type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
Get objects by type. More... | |
static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
Prepare copy wizard object selection. More... | |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies ($a_obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $a_obj_ids) |
Get long description data. More... | |
static | getAllOwnedRepositoryObjects ($a_user_id) |
Get all ids of objects user owns. More... | |
static | fixMissingTitles ($a_type, array &$a_obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate ($a_id) |
Lookup creation date. More... | |
static | hasAutoRating ($a_type, $a_ref_id) |
Check if auto rating is active for parent group/course. More... | |
Data Fields | |
$auto_glossaries = array() | |
Data Fields inherited from ilObject | |
const | TITLE_LENGTH = 255 |
max length of object title More... | |
const | DESC_LENGTH = 128 |
$ilias | |
$lng | |
$id | |
$ref_id | |
$type | |
$title | |
$untranslatedTitle | |
$desc | |
$long_desc | |
$owner | |
$create_date | |
$last_update | |
$import_id | |
$register = false | |
$referenced | |
$objectList | |
$max_title | |
$max_desc | |
$add_dots | |
Static Protected Member Functions | |
static | lookup ($a_id, $a_property) |
Lookup glossary property. More... | |
ilObjGlossary::__construct | ( | $a_id = 0 , |
|
$a_call_by_reference = true |
|||
) |
Constructor public.
Definition at line 32 of file class.ilObjGlossary.php.
|
static |
check wether content object is online
Definition at line 245 of file class.ilObjGlossary.php.
References $ilDB, $lm_set, and ilUtil\yn2tf().
Referenced by ilRepositoryExplorer\isClickable(), and ilRepositoryExplorerGUI\isNodeClickable().
ilObjGlossary::autoLinkGlossaryTerms | ( | $a_glo_id | ) |
Auto link glossary terms.
Definition at line 1345 of file class.ilObjGlossary.php.
References ilObject\$id, $t, array, ilPCParagraph\autoLinkGlossariesPage(), ilGlossaryDefinition\getDefinitionList(), ilObject\getId(), and ilGlossaryTerm\getTermList().
ilObjGlossary::cloneObject | ( | $a_target_id, | |
$a_copy_id = 0 , |
|||
$a_omit_tree = false |
|||
) |
Clone glossary.
int | target ref_id |
int | copy id |
Definition at line 1215 of file class.ilObjGlossary.php.
References $ilDB, ilObject\$ilias, $ilUser, ilGlossaryTerm\_copyTerm(), ilCopyWizardOptions\_getInstance(), ilObjStyleSheet\_lookupStandard(), array, ilObject\cloneMetaData(), ilTaxNodeAssignment\getAssignmentsOfItem(), getAutoGlossaries(), getDescription(), ilObject\getId(), getOnline(), getPresentationMode(), ilObject\getRefId(), getSnippetLength(), getStyleSheetId(), getTaxonomyId(), ilGlossaryTerm\getTermList(), getVirtualMode(), and ilObjTaxonomy\saveUsage().
ilObjGlossary::create | ( | $a_upload = false | ) |
create glossary object
Definition at line 41 of file class.ilObjGlossary.php.
References $ilDB, ilObject\createMetaData(), ilObject\getId(), getStyleSheetId(), getVirtualMode(), setPresentationMode(), setSnippetLength(), updateAutoGlossaries(), and ilObjStyleSheet\writeStyleUsage().
ilObjGlossary::createExportDirectory | ( | $a_type = "xml" | ) |
Creates export directory.
Definition at line 616 of file class.ilObjGlossary.php.
References $a_type, ilExport\_createExportDirectory(), ilObject\getId(), and ilObject\getType().
ilObjGlossary::createImportDirectory | ( | ) |
creates data directory for import files (data_dir/glo_data/glo_<id>/import, depending on data directory that is set in ILIAS setup/ini)
Definition at line 577 of file class.ilObjGlossary.php.
References ilUtil\getDataDir(), ilObject\getId(), and ilUtil\makeDir().
ilObjGlossary::delete | ( | ) |
delete glossary and all related data
this method has been tested on may 9th 2004 meta data, terms, definitions, definition meta data and definition pages have been deleted correctly as desired
public
Definition at line 1124 of file class.ilObjGlossary.php.
References $ilDB, ilObject\deleteMetaData(), ilObject\getId(), getTermList(), and isVirtual().
ilObjGlossary::exportFileItems | ( | $a_target_dir, | |
& | $expLog | ||
) |
export files of file itmes
Definition at line 1083 of file class.ilObjGlossary.php.
References date.
Referenced by exportXML().
ilObjGlossary::exportHTML | ( | $a_target_dir, | |
$log | |||
) |
export html package
Definition at line 666 of file class.ilObjGlossary.php.
References $_GET, $file, ilObject\$ilias, $style, $tpl, ilUtil\delDir(), exportHTMLFile(), exportHTMLGlossaryTerms(), exportHTMLMOB(), getExportDirectory(), ilObject\getId(), ilUtil\getImagePath(), ilMathJax\getInstance(), getStyleSheetId(), ilUtil\getStyleSheetLocation(), ilObjStyleSheet\getSyntaxStylePath(), ilObject\getType(), ilUtil\makeDir(), ilMathJax\PURPOSE_EXPORT, time, and ilUtil\zip().
ilObjGlossary::exportHTMLFile | ( | $a_target_dir, | |
$a_file_id | |||
) |
export file object
Definition at line 917 of file class.ilObjGlossary.php.
References ilUtil\makeDir().
Referenced by exportHTML().
ilObjGlossary::exportHTMLGlossaryTerms | ( | & | $a_glo_gui, |
$a_target_dir | |||
) |
export glossary terms
Definition at line 778 of file class.ilObjGlossary.php.
References $_GET, $file, $ilUser, ilObjFile\_getFilesOfObject(), ilObjMediaObject\_getMobsOfObject(), array, ilGlossaryDefinition\getDefinitionList(), getTermList(), and getTitle().
Referenced by exportHTML().
ilObjGlossary::exportHTMLMOB | ( | $a_target_dir, | |
& | $a_glo_gui, | ||
$a_mob_id | |||
) |
export media object to html
Definition at line 859 of file class.ilObjGlossary.php.
References $_GET, $file, $tpl, ilUtil\getWebspaceDir(), ilUtil\makeDir(), and ilUtil\rCopy().
Referenced by exportHTML().
ilObjGlossary::exportXML | ( | & | $a_xml_writer, |
$a_inst, | |||
$a_target_dir, | |||
& | $expLog | ||
) |
export object to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 938 of file class.ilObjGlossary.php.
References $ilBench, array, ilPCFileList\collectFileItems(), date, exportFileItems(), exportXMLGlossaryItems(), exportXMLMediaObjects(), exportXMLMetaData(), ilGlossaryDefinition\getDefinitionList(), and getTermList().
ilObjGlossary::exportXMLGlossaryItems | ( | & | $a_xml_writer, |
$a_inst, | |||
& | $expLog | ||
) |
export page objects to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 1009 of file class.ilObjGlossary.php.
References $ilBench, array, date, exportXMLMetaData(), and getTermList().
Referenced by exportXML().
ilObjGlossary::exportXMLMediaObjects | ( | & | $a_xml_writer, |
$a_inst, | |||
$a_target_dir, | |||
& | $expLog | ||
) |
export media objects to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 1065 of file class.ilObjGlossary.php.
References date.
Referenced by exportXML().
ilObjGlossary::exportXMLMetaData | ( | & | $a_xml_writer | ) |
export content objects meta data to xml (see ilias_co.dtd)
object | $a_xml_writer | ilXmlWriter object that receives the xml data |
Definition at line 1050 of file class.ilObjGlossary.php.
References ilObject\getId(), and ilObject\getType().
Referenced by exportXML(), and exportXMLGlossaryItems().
|
static |
Implements ilAdvancedMetaDataSubItems.
Definition at line 1326 of file class.ilObjGlossary.php.
References ilObject\$lng, and ilGlossaryTerm\_lookGlossaryTerm().
ilObjGlossary::getAllGlossaryIds | ( | $a_include_offline_childs = false | ) |
Get all glossary ids.
Definition at line 504 of file class.ilObjGlossary.php.
References array, ilObject\getId(), ilObject\getRefId(), getVirtualMode(), isVirtual(), and removeOfflineGlossaries().
Referenced by getFirstLetters(), and getTermList().
ilObjGlossary::getAutoGlossaries | ( | ) |
Get auto glossaries.
Definition at line 370 of file class.ilObjGlossary.php.
References $auto_glossaries.
Referenced by ilGlossaryAutoLinkTableGUI\__construct(), cloneObject(), removeAutoGlossary(), and updateAutoGlossaries().
|
static |
Get deletion dependencies.
Definition at line 1174 of file class.ilObjGlossary.php.
References ilObject\$lng, array, and ilObjSAHSLearningModule\getScormModulesForGlossary().
ilObjGlossary::getDescription | ( | ) |
get description of glossary object
Definition at line 120 of file class.ilObjGlossary.php.
Referenced by cloneObject().
ilObjGlossary::getExportDirectory | ( | $a_type = "xml" | ) |
Get export directory of glossary.
Definition at line 625 of file class.ilObjGlossary.php.
References $a_type, ilExport\_getExportDirectory(), ilObject\getId(), and ilObject\getType().
Referenced by exportHTML().
ilObjGlossary::getExportFiles | ( | ) |
Get export files.
Definition at line 634 of file class.ilObjGlossary.php.
References ilExport\_getExportFiles(), array, ilObject\getId(), and ilObject\getType().
ilObjGlossary::getFirstLetters | ( | $a_tax_node = 0 | ) |
Get term list.
Definition at line 491 of file class.ilObjGlossary.php.
References getAllGlossaryIds(), and ilGlossaryTerm\getFirstLetters().
ilObjGlossary::getImportDirectory | ( | ) |
get import directory of glossary
Definition at line 606 of file class.ilObjGlossary.php.
References ilUtil\getDataDir().
ilObjGlossary::getOnline | ( | ) |
Definition at line 237 of file class.ilObjGlossary.php.
Referenced by cloneObject().
ilObjGlossary::getPresentationMode | ( | ) |
Get presentation mode.
Definition at line 205 of file class.ilObjGlossary.php.
Referenced by cloneObject(), and update().
ilObjGlossary::getPublicExportFile | ( | $a_type | ) |
get public export file
string | $a_type | type ("xml" / "html") |
Definition at line 658 of file class.ilObjGlossary.php.
References $a_type.
Referenced by update().
ilObjGlossary::getShowTaxonomy | ( | ) |
Get show taxonomy.
Definition at line 338 of file class.ilObjGlossary.php.
Referenced by update().
ilObjGlossary::getSnippetLength | ( | ) |
Get snippet length.
Definition at line 225 of file class.ilObjGlossary.php.
Referenced by cloneObject(), and update().
ilObjGlossary::getStyleSheetId | ( | ) |
Get ID of assigned style sheet object.
Definition at line 309 of file class.ilObjGlossary.php.
Referenced by cloneObject(), create(), exportHTML(), and update().
ilObjGlossary::getTaxonomyId | ( | ) |
Get taxonomy.
Definition at line 1196 of file class.ilObjGlossary.php.
References ilObject\getId(), and ilObjTaxonomy\getUsageOfObject().
Referenced by cloneObject().
ilObjGlossary::getTermList | ( | $searchterm = "" , |
|
$a_letter = "" , |
|||
$a_def = "" , |
|||
$a_tax_node = 0 , |
|||
$a_include_offline_childs = false , |
|||
$a_add_amet_fields = false , |
|||
array | $a_amet_filter = null , |
||
$a_omit_virtual = false , |
|||
$a_include_references = false |
|||
) |
Get term list.
Definition at line 472 of file class.ilObjGlossary.php.
References getAllGlossaryIds(), ilObject\getId(), and ilGlossaryTerm\getTermList().
Referenced by delete(), exportHTMLGlossaryTerms(), exportXML(), and exportXMLGlossaryItems().
ilObjGlossary::getTitle | ( | ) |
get title of glossary object
Definition at line 176 of file class.ilObjGlossary.php.
Referenced by exportHTMLGlossaryTerms().
ilObjGlossary::getVirtualMode | ( | ) |
get glossary type (normal or virtual)
Definition at line 158 of file class.ilObjGlossary.php.
Referenced by cloneObject(), create(), getAllGlossaryIds(), and update().
ilObjGlossary::getXMLZip | ( | ) |
ilObjGlossary::isActiveDownloads | ( | ) |
Definition at line 301 of file class.ilObjGlossary.php.
Referenced by update().
ilObjGlossary::isActiveGlossaryMenu | ( | ) |
Definition at line 291 of file class.ilObjGlossary.php.
Referenced by update().
ilObjGlossary::isVirtual | ( | ) |
returns true if glossary type is virtual (any mode)
Definition at line 166 of file class.ilObjGlossary.php.
Referenced by delete(), and getAllGlossaryIds().
|
staticprotected |
Lookup glossary property.
int | glossary id |
string | property |
Definition at line 263 of file class.ilObjGlossary.php.
References $ilDB.
Referenced by lookupSnippetLength().
|
static |
Lookup auto glossaries.
Definition at line 453 of file class.ilObjGlossary.php.
Referenced by ilGlossaryDefPage\beforePageContentUpdate().
|
static |
Lookup snippet length.
int | glossary id |
Definition at line 280 of file class.ilObjGlossary.php.
References lookup().
Referenced by ilGlossaryDefinition\shortenShortText().
ilObjGlossary::modifyExportIdentifier | ( | $a_tag, | |
$a_param, | |||
$a_value | |||
) |
Definition at line 1101 of file class.ilObjGlossary.php.
References ilObject\getId().
ilObjGlossary::read | ( | ) |
read data of content object
Definition at line 77 of file class.ilObjGlossary.php.
References $ilDB, array, ilObject\getId(), ilObjStyleSheet\lookupObjectStyle(), setActiveDownloads(), setActiveGlossaryMenu(), setAutoGlossaries(), setOnline(), setPresentationMode(), setPublicExportFile(), setShowTaxonomy(), setSnippetLength(), setStyleSheetId(), setVirtualMode(), and ilUtil\yn2tf().
ilObjGlossary::removeAutoGlossary | ( | $a_glo_id | ) |
Remove auto glossary.
Definition at line 381 of file class.ilObjGlossary.php.
References array, getAutoGlossaries(), and setAutoGlossaries().
ilObjGlossary::removeOfflineGlossaries | ( | $a_glo_ids | ) |
Remove offline glossaries from obj id array.
Definition at line 1310 of file class.ilObjGlossary.php.
Referenced by getAllGlossaryIds().
ilObjGlossary::setActiveDownloads | ( | $a_down | ) |
Definition at line 296 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setActiveGlossaryMenu | ( | $a_act_glo_menu | ) |
Definition at line 286 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setAutoGlossaries | ( | $a_val | ) |
Set auto glossaries.
array | $a_val | int |
Definition at line 348 of file class.ilObjGlossary.php.
References ilObject\_lookupType(), and array.
Referenced by read(), and removeAutoGlossary().
ilObjGlossary::setDescription | ( | $a_description | ) |
set description of glossary object
Definition at line 128 of file class.ilObjGlossary.php.
ilObjGlossary::setOnline | ( | $a_online | ) |
Definition at line 232 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setPresentationMode | ( | $a_val | ) |
Set presentation mode.
string | presentation mode |
Definition at line 195 of file class.ilObjGlossary.php.
Referenced by create(), and read().
ilObjGlossary::setPublicExportFile | ( | $a_type, | |
$a_file | |||
) |
specify public export file for type
string | $a_type | type ("xml" / "html") |
string | $a_file | file name |
Definition at line 646 of file class.ilObjGlossary.php.
References $a_type.
Referenced by read().
ilObjGlossary::setShowTaxonomy | ( | $a_val | ) |
Set show taxonomy.
bool | $a_val | show taxonomy |
Definition at line 328 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setSnippetLength | ( | $a_val | ) |
Set snippet length.
int | snippet length |
Definition at line 215 of file class.ilObjGlossary.php.
Referenced by create(), and read().
ilObjGlossary::setStyleSheetId | ( | $a_style_id | ) |
Set ID of assigned style sheet object.
Definition at line 317 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setTitle | ( | $a_title | ) |
set title of glossary object
Definition at line 184 of file class.ilObjGlossary.php.
ilObjGlossary::setVirtualMode | ( | $a_mode | ) |
set glossary type (virtual: fixed/level/subtree, normal:none)
Definition at line 137 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::update | ( | ) |
Update object.
Definition at line 397 of file class.ilObjGlossary.php.
References $ilDB, ilObject\getId(), getPresentationMode(), getPublicExportFile(), getShowTaxonomy(), getSnippetLength(), getStyleSheetId(), getVirtualMode(), isActiveDownloads(), isActiveGlossaryMenu(), ilUtil\tf2yn(), updateAutoGlossaries(), ilObject\updateMetaData(), and ilObjStyleSheet\writeStyleUsage().
ilObjGlossary::updateAutoGlossaries | ( | ) |
Update auto glossaries.
Definition at line 429 of file class.ilObjGlossary.php.
References $ilDB, and getAutoGlossaries().
Referenced by create(), and update().
ilObjGlossary::$auto_glossaries = array() |
Definition at line 26 of file class.ilObjGlossary.php.
Referenced by getAutoGlossaries().