ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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, $ids_are_ref_ids=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, $ids_are_ref_ids=false) | |
Remove offline glossaries from obj id array. More... | |
autoLinkGlossaryTerms ($a_glo_ref_id) | |
Auto link glossary terms. More... | |
supportsLongTextQuery () | |
Is long text search supported. 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... | |
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 () | |
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 |
$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... | |
Protected Attributes | |
$tpl | |
$db | |
$user | |
Protected Attributes inherited from ilObject | |
$objDefinition | |
$db | |
$log | |
$error | |
$tree | |
$app_event_handler | |
$rbacadmin | |
$rbacreview | |
ilObjGlossary::__construct | ( | $a_id = 0 , |
|
$a_call_by_reference = true |
|||
) |
Constructor public.
Definition at line 47 of file class.ilObjGlossary.php.
|
static |
check wether content object is online
Definition at line 256 of file class.ilObjGlossary.php.
References $db, $DIC, $lm_set, and ilUtil\yn2tf().
Referenced by ilRepositoryExplorer\isClickable(), and ilRepositoryExplorerGUI\isNodeClickable().
ilObjGlossary::autoLinkGlossaryTerms | ( | $a_glo_ref_id | ) |
Auto link glossary terms.
Definition at line 1335 of file class.ilObjGlossary.php.
References $def, ilObject\$id, $t, array, ilPCParagraph\autoLinkGlossariesPage(), ilGlossaryDefinition\getDefinitionList(), ilObject\getRefId(), 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 1199 of file class.ilObjGlossary.php.
References ilGlossaryTerm\_copyTerm(), ilCopyWizardOptions\_getInstance(), ilObjStyleSheet\_lookupStandard(), array, ilObject\cloneMetaData(), ilTaxNodeAssignment\getAssignmentsOfItem(), getAutoGlossaries(), getDescription(), ilObject\getId(), ilObjectFactory\getInstanceByObjId(), getOnline(), getPresentationMode(), ilObject\getRefId(), getSnippetLength(), getStyleSheetId(), getTaxonomyId(), ilGlossaryTerm\getTermList(), getVirtualMode(), and ilObjTaxonomy\saveUsage().
ilObjGlossary::create | ( | $a_upload = false | ) |
create glossary object
Definition at line 62 of file class.ilObjGlossary.php.
References ilObject\createMetaData(), ilObject\getId(), getStyleSheetId(), getVirtualMode(), setPresentationMode(), setSnippetLength(), updateAutoGlossaries(), and ilObjStyleSheet\writeStyleUsage().
ilObjGlossary::createExportDirectory | ( | $a_type = "xml" | ) |
Creates export directory.
Definition at line 631 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 593 of file class.ilObjGlossary.php.
References ilObject\$error, $ilErr, 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 1113 of file class.ilObjGlossary.php.
References ilObject\deleteMetaData(), ilObject\getId(), getTermList(), and isVirtual().
ilObjGlossary::exportFileItems | ( | $a_target_dir, | |
& | $expLog | ||
) |
export files of file itmes
Definition at line 1074 of file class.ilObjGlossary.php.
References date.
Referenced by exportXML().
ilObjGlossary::exportHTML | ( | $a_target_dir, | |
$log | |||
) |
export html package
Definition at line 681 of file class.ilObjGlossary.php.
References $_GET, $file, $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, user(), and ilUtil\zip().
ilObjGlossary::exportHTMLFile | ( | $a_target_dir, | |
$a_file_id | |||
) |
export file object
Definition at line 932 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 803 of file class.ilObjGlossary.php.
References $_GET, $def, $file, ilObjFile\_getFilesOfObject(), ilObjMediaObject\_getMobsOfObject(), array, ilGlossaryDefinition\getDefinitionList(), getTermList(), getTitle(), and user().
Referenced by exportHTML().
ilObjGlossary::exportHTMLMOB | ( | $a_target_dir, | |
& | $a_glo_gui, | ||
$a_mob_id | |||
) |
export media object to html
Definition at line 878 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 952 of file class.ilObjGlossary.php.
References $def, 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 1011 of file class.ilObjGlossary.php.
References 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 1057 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 1042 of file class.ilObjGlossary.php.
References ilObject\getId(), and ilObject\getType().
Referenced by exportXML(), and exportXMLGlossaryItems().
|
static |
Implements ilAdvancedMetaDataSubItems.
Definition at line 1315 of file class.ilObjGlossary.php.
References $DIC, ilObject\$lng, and ilGlossaryTerm\_lookGlossaryTerm().
ilObjGlossary::getAllGlossaryIds | ( | $a_include_offline_childs = false , |
|
$ids_are_ref_ids = false |
|||
) |
Get all glossary ids.
Definition at line 525 of file class.ilObjGlossary.php.
References $DIC, ilObject\$tree, array, ilObject\getId(), ilObject\getRefId(), getVirtualMode(), isVirtual(), and removeOfflineGlossaries().
Referenced by getFirstLetters(), and getTermList().
ilObjGlossary::getAutoGlossaries | ( | ) |
Get auto glossaries.
Definition at line 382 of file class.ilObjGlossary.php.
References $auto_glossaries.
Referenced by ilGlossaryAutoLinkTableGUI\__construct(), cloneObject(), removeAutoGlossary(), and updateAutoGlossaries().
|
static |
Get deletion dependencies.
Definition at line 1158 of file class.ilObjGlossary.php.
References $DIC, ilObject\$lng, array, and ilObjSAHSLearningModule\getScormModulesForGlossary().
ilObjGlossary::getDescription | ( | ) |
get description of glossary object
Definition at line 132 of file class.ilObjGlossary.php.
Referenced by cloneObject().
ilObjGlossary::getExportDirectory | ( | $a_type = "xml" | ) |
Get export directory of glossary.
Definition at line 640 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 649 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 512 of file class.ilObjGlossary.php.
References getAllGlossaryIds(), and ilGlossaryTerm\getFirstLetters().
ilObjGlossary::getImportDirectory | ( | ) |
get import directory of glossary
Definition at line 621 of file class.ilObjGlossary.php.
References ilUtil\getDataDir(), and ilObject\getId().
ilObjGlossary::getOnline | ( | ) |
Definition at line 248 of file class.ilObjGlossary.php.
Referenced by cloneObject().
ilObjGlossary::getPresentationMode | ( | ) |
Get presentation mode.
Definition at line 216 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 673 of file class.ilObjGlossary.php.
References $a_type.
Referenced by update().
ilObjGlossary::getShowTaxonomy | ( | ) |
Get show taxonomy.
Definition at line 353 of file class.ilObjGlossary.php.
Referenced by update().
ilObjGlossary::getSnippetLength | ( | ) |
Get snippet length.
Definition at line 236 of file class.ilObjGlossary.php.
Referenced by cloneObject(), and update().
ilObjGlossary::getStyleSheetId | ( | ) |
Get ID of assigned style sheet object.
Definition at line 324 of file class.ilObjGlossary.php.
Referenced by cloneObject(), create(), exportHTML(), and update().
ilObjGlossary::getTaxonomyId | ( | ) |
Get taxonomy.
Definition at line 1181 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 480 of file class.ilObjGlossary.php.
References $list, getAllGlossaryIds(), ilObject\getRefId(), and ilGlossaryTerm\getTermList().
Referenced by delete(), exportHTMLGlossaryTerms(), exportXML(), and exportXMLGlossaryItems().
ilObjGlossary::getTitle | ( | ) |
get title of glossary object
Definition at line 187 of file class.ilObjGlossary.php.
Referenced by exportHTMLGlossaryTerms().
ilObjGlossary::getVirtualMode | ( | ) |
get glossary type (normal or virtual)
Definition at line 169 of file class.ilObjGlossary.php.
Referenced by cloneObject(), create(), getAllGlossaryIds(), and update().
ilObjGlossary::getXMLZip | ( | ) |
ilObjGlossary::isActiveDownloads | ( | ) |
Definition at line 316 of file class.ilObjGlossary.php.
Referenced by update().
ilObjGlossary::isActiveGlossaryMenu | ( | ) |
Definition at line 306 of file class.ilObjGlossary.php.
Referenced by update().
ilObjGlossary::isVirtual | ( | ) |
returns true if glossary type is virtual (any mode)
Definition at line 177 of file class.ilObjGlossary.php.
Referenced by delete(), and getAllGlossaryIds().
|
staticprotected |
Lookup glossary property.
int | glossary id |
string | property |
Definition at line 276 of file class.ilObjGlossary.php.
Referenced by lookupSnippetLength().
|
static |
Lookup auto glossaries.
Definition at line 459 of file class.ilObjGlossary.php.
References $db, $DIC, and array.
Referenced by ilGlossaryDefPage\beforePageContentUpdate().
|
static |
Lookup snippet length.
int | glossary id |
Definition at line 295 of file class.ilObjGlossary.php.
References lookup().
Referenced by ilGlossaryDefinition\shortenShortText().
ilObjGlossary::modifyExportIdentifier | ( | $a_tag, | |
$a_param, | |||
$a_value | |||
) |
Definition at line 1091 of file class.ilObjGlossary.php.
References ilObject\getId().
ilObjGlossary::read | ( | ) |
read data of content object
Definition at line 93 of file class.ilObjGlossary.php.
References 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 393 of file class.ilObjGlossary.php.
References array, getAutoGlossaries(), and setAutoGlossaries().
ilObjGlossary::removeOfflineGlossaries | ( | $a_glo_ids, | |
$ids_are_ref_ids = false |
|||
) |
Remove offline glossaries from obj id array.
Definition at line 1284 of file class.ilObjGlossary.php.
References ilObject\$id, ilObject\$ref_id, ilObject\_lookupObjectId(), and array.
Referenced by getAllGlossaryIds().
ilObjGlossary::setActiveDownloads | ( | $a_down | ) |
Definition at line 311 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setActiveGlossaryMenu | ( | $a_act_glo_menu | ) |
Definition at line 301 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setAutoGlossaries | ( | $a_val | ) |
Set auto glossaries.
array | $a_val | int |
Definition at line 363 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 140 of file class.ilObjGlossary.php.
ilObjGlossary::setOnline | ( | $a_online | ) |
Definition at line 243 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setPresentationMode | ( | $a_val | ) |
Set presentation mode.
string | presentation mode |
Definition at line 206 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 661 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 343 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setSnippetLength | ( | $a_val | ) |
Set snippet length.
int | snippet length |
Definition at line 226 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 332 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::setTitle | ( | $a_title | ) |
set title of glossary object
Definition at line 195 of file class.ilObjGlossary.php.
ilObjGlossary::setVirtualMode | ( | $a_mode | ) |
set glossary type (virtual: fixed/level/subtree, normal:none)
Definition at line 149 of file class.ilObjGlossary.php.
Referenced by read().
ilObjGlossary::supportsLongTextQuery | ( | ) |
ilObjGlossary::update | ( | ) |
Update object.
Definition at line 407 of file class.ilObjGlossary.php.
References ilObject\getId(), getPresentationMode(), getPublicExportFile(), getShowTaxonomy(), getSnippetLength(), getStyleSheetId(), getVirtualMode(), isActiveDownloads(), isActiveGlossaryMenu(), ilUtil\tf2yn(), League\Flysystem\Adapter\Polyfill\update(), updateAutoGlossaries(), ilObject\updateMetaData(), and ilObjStyleSheet\writeStyleUsage().
ilObjGlossary::updateAutoGlossaries | ( | ) |
Update auto glossaries.
Definition at line 437 of file class.ilObjGlossary.php.
References getAutoGlossaries().
Referenced by create(), and update().
ilObjGlossary::$auto_glossaries = array() |
Definition at line 36 of file class.ilObjGlossary.php.
Referenced by getAutoGlossaries().
|
protected |
Definition at line 31 of file class.ilObjGlossary.php.
Referenced by _lookupOnline(), lookup(), and lookupAutoGlossaries().
|
protected |
Definition at line 25 of file class.ilObjGlossary.php.
Referenced by exportHTML(), and exportHTMLMOB().
|
protected |
Definition at line 41 of file class.ilObjGlossary.php.