| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Collaboration diagram for ilGlossaryTermReferences:Public Member Functions | |
| __construct (int $a_glo_id=0) | |
| setGlossaryId (int $a_val) | |
| getGlossaryId () | |
| setTerms (array $a_val) | |
| getTerms () | |
| addTerm (int $a_term_id) | |
| deleteTerm (int $a_term_id) | |
| read () | |
| update () | |
| delete () | |
| Delete references (of glossary)  More... | |
Static Public Member Functions | |
| static | deleteReferencesOfTerm (int $a_term_id) | 
| Delete all references of a term.  More... | |
| static | hasReferences (int $a_glossary_id) | 
| Check if a glossary uses references.  More... | |
| static | isReferenced (array $a_glo_id, int $a_term_id) | 
| Is a term referenced by a set of glossaries.  More... | |
| static | lookupReferencesOfTerm (int $a_term_id) | 
Protected Attributes | |
| int | $glo_id | 
| array | $terms = array() | 
| ilDBInterface | $db | 
| ilAppEventHandler | $event_handler | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Glossary term reference
Definition at line 23 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::__construct | ( | int | $a_glo_id = 0 | ) | 
Definition at line 31 of file class.ilGlossaryTermReferences.php.
References $DIC, read(), and setGlossaryId().
 Here is the call graph for this function:| ilGlossaryTermReferences::addTerm | ( | int | $a_term_id | ) | 
Definition at line 70 of file class.ilGlossaryTermReferences.php.
Referenced by ilObjGlossaryGUI\pasteTerms(), and read().
 Here is the caller graph for this function:| ilGlossaryTermReferences::delete | ( | ) | 
Delete references (of glossary)
Definition at line 116 of file class.ilGlossaryTermReferences.php.
      
  | 
  static | 
Delete all references of a term.
Definition at line 127 of file class.ilGlossaryTermReferences.php.
References $DIC, ilDBInterface\manipulate(), and ilDBInterface\quote().
Referenced by ilGlossaryTerm\delete(), and ILIAS\Glossary\Term\TermManager\deleteTerm().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGlossaryTermReferences::deleteTerm | ( | int | $a_term_id | ) | 
Definition at line 77 of file class.ilGlossaryTermReferences.php.
Referenced by ilObjGlossaryGUI\deleteTerms().
 Here is the caller graph for this function:| ilGlossaryTermReferences::getGlossaryId | ( | ) | 
Definition at line 49 of file class.ilGlossaryTermReferences.php.
References $glo_id.
Referenced by update().
 Here is the caller graph for this function:| ilGlossaryTermReferences::getTerms | ( | ) | 
Definition at line 65 of file class.ilGlossaryTermReferences.php.
References $terms.
Referenced by update().
 Here is the caller graph for this function:
      
  | 
  static | 
Check if a glossary uses references.
Definition at line 142 of file class.ilGlossaryTermReferences.php.
References $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ILIAS\components\ILIAS\Glossary\Table\TermListTable\getColumns(), and ILIAS\components\ILIAS\Glossary\Table\TermListTable\getDataRetrieval().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Is a term referenced by a set of glossaries.
| int[] | $a_glo_id glossary ids | |
| int | $a_term_id | 
Definition at line 163 of file class.ilGlossaryTermReferences.php.
References $DIC, ilDBInterface\fetchAssoc(), ilDBInterface\in(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilObjGlossaryGUI\__construct(), ilObjGlossaryGUI\deleteTerms(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\getDataRetrieval(), ILIAS\components\ILIAS\Glossary\Table\TermListTable\handleTermForModal(), and ilGlossaryPresentationGUI\initByRequest().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
| int | $a_term_id | term id | 
Definition at line 185 of file class.ilGlossaryTermReferences.php.
References $DIC, $q, ilDBInterface\fetchAssoc(), ilDBInterface\query(), and ilDBInterface\quote().
Referenced by ilGlossaryTerm\getUsages().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGlossaryTermReferences::read | ( | ) | 
Definition at line 89 of file class.ilGlossaryTermReferences.php.
References addTerm().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilGlossaryTermReferences::setGlossaryId | ( | int | $a_val | ) | 
Definition at line 44 of file class.ilGlossaryTermReferences.php.
Referenced by __construct().
 Here is the caller graph for this function:| ilGlossaryTermReferences::setTerms | ( | array | $a_val | ) | 
| int[] | $a_val term ids | 
Definition at line 57 of file class.ilGlossaryTermReferences.php.
| ilGlossaryTermReferences::update | ( | ) | 
Definition at line 98 of file class.ilGlossaryTermReferences.php.
References getGlossaryId(), and getTerms().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 28 of file class.ilGlossaryTermReferences.php.
      
  | 
  protected | 
Definition at line 29 of file class.ilGlossaryTermReferences.php.
      
  | 
  protected | 
Definition at line 25 of file class.ilGlossaryTermReferences.php.
Referenced by getGlossaryId().
      
  | 
  protected | 
Definition at line 27 of file class.ilGlossaryTermReferences.php.
Referenced by getTerms().