ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getInstanceByRefId (int $ref_id) | |
addInstance (ilObjStudyProgramme $prg) | |
test_clear () | |
For testing purpose. More... | |
test_isEmpty () | |
Static Public Member Functions | |
static | singleton () |
Protected Attributes | |
array | $instances |
Private Member Functions | |
__construct () | |
Static Private Attributes | |
static ilObjStudyProgrammeCache | $instance = null |
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 Cache for ilObjStudyProgrammes.
Implemented as singleton.
Definition at line 26 of file class.ilObjStudyProgrammeCache.php.
|
private |
Definition at line 35 of file class.ilObjStudyProgrammeCache.php.
ilObjStudyProgrammeCache::addInstance | ( | ilObjStudyProgramme | $prg | ) |
Definition at line 70 of file class.ilObjStudyProgrammeCache.php.
References ilObject\getRefId().
ilObjStudyProgrammeCache::getInstanceByRefId | ( | int | $ref_id | ) |
Definition at line 48 of file class.ilObjStudyProgrammeCache.php.
References $ref_id, $type, and ilObject\_lookupType().
|
static |
Definition at line 40 of file class.ilObjStudyProgrammeCache.php.
Referenced by ilObjStudyProgramme\initStudyProgrammeCache(), and ilObjStudyProgrammeCacheTest\testCreateBySingleton().
ilObjStudyProgrammeCache::test_clear | ( | ) |
For testing purpose.
TODO: Move to mock class in tests.
Definition at line 83 of file class.ilObjStudyProgrammeCache.php.
ilObjStudyProgrammeCache::test_isEmpty | ( | ) |
Definition at line 88 of file class.ilObjStudyProgrammeCache.php.
|
staticprivate |
Definition at line 28 of file class.ilObjStudyProgrammeCache.php.
|
protected |
Definition at line 33 of file class.ilObjStudyProgrammeCache.php.