ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Manages terms. More...
Public Member Functions | |
__construct (InternalDomainService $domain_service, TermSessionRepository $session_repo, \ilObjGlossary $glossary, int $user_id) | |
setSessionLang (string $lang) | |
getSessionLang () | |
copyTermFromOtherGlossary (int $other_glossary_ref_id, int $term_id) | |
referenceTermsFromOtherGlossary (int $other_glossary_ref_id, array $term_ids) | |
Reference terms of another glossary in current glossary. More... | |
getDataArrayFromInputString (string $input) | |
createTermDefinitionPairsFromBulkInputString (string $input, string $language) | |
deleteTerm (int $term_id) | |
Protected Attributes | |
ilAppEventHandler | $event_handler |
InternalDomainService | $domain |
TermSessionRepository | $session_repo |
ilObjGlossary | $glossary |
int | $user_id |
Manages terms.
Definition at line 29 of file class.TermManager.php.
ILIAS\Glossary\Term\TermManager::__construct | ( | InternalDomainService | $domain_service, |
TermSessionRepository | $session_repo, | ||
\ilObjGlossary | $glossary, | ||
int | $user_id | ||
) |
Definition at line 37 of file class.TermManager.php.
References $DIC, ILIAS\Glossary\Term\TermManager\$glossary, ILIAS\Glossary\Term\TermManager\$session_repo, and ILIAS\Glossary\Term\TermManager\$user_id.
ILIAS\Glossary\Term\TermManager::copyTermFromOtherGlossary | ( | int | $other_glossary_ref_id, |
int | $term_id | ||
) |
Definition at line 62 of file class.TermManager.php.
References ilGlossaryTerm\_copyTerm(), ilGlossaryTerm\_lookGlossaryID(), and ilObject\_lookupObjectId().
ILIAS\Glossary\Term\TermManager::createTermDefinitionPairsFromBulkInputString | ( | string | $input, |
string | $language | ||
) |
Definition at line 154 of file class.TermManager.php.
References $data, and ILIAS\Glossary\Term\TermManager\getDataArrayFromInputString().
ILIAS\Glossary\Term\TermManager::deleteTerm | ( | int | $term_id | ) |
Definition at line 176 of file class.TermManager.php.
References ILIAS\$db, $DIC, Vendor\Package\$e, and ilGlossaryTermReferences\deleteReferencesOfTerm().
ILIAS\Glossary\Term\TermManager::getDataArrayFromInputString | ( | string | $input | ) |
Definition at line 137 of file class.TermManager.php.
References $data.
Referenced by ILIAS\Glossary\Term\TermManager\createTermDefinitionPairsFromBulkInputString().
ILIAS\Glossary\Term\TermManager::getSessionLang | ( | ) |
Definition at line 57 of file class.TermManager.php.
ILIAS\Glossary\Term\TermManager::referenceTermsFromOtherGlossary | ( | int | $other_glossary_ref_id, |
array | $term_ids | ||
) |
Reference terms of another glossary in current glossary.
Definition at line 98 of file class.TermManager.php.
References ilGlossaryTerm\_lookGlossaryID(), and ilObject\_lookupObjectId().
ILIAS\Glossary\Term\TermManager::setSessionLang | ( | string | $lang | ) |
|
protected |
Definition at line 32 of file class.TermManager.php.
|
protected |
Definition at line 31 of file class.TermManager.php.
|
protected |
Definition at line 34 of file class.TermManager.php.
Referenced by ILIAS\Glossary\Term\TermManager\__construct().
|
protected |
Definition at line 33 of file class.TermManager.php.
Referenced by ILIAS\Glossary\Term\TermManager\__construct().
|
protected |
Definition at line 35 of file class.TermManager.php.
Referenced by ILIAS\Glossary\Term\TermManager\__construct().