ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Cache for ilObjStudyProgrammes. More...
Public Member Functions | |
getInstanceByRefId ($a_ref_id) | |
addInstance (ilObjStudyProgramme $a_prg) | |
test_clear () | |
For testing purpose. More... | |
test_isEmpty () | |
Static Public Member Functions | |
static | singleton () |
Protected Attributes | |
$instances | |
Private Member Functions | |
__construct () | |
Static Private Attributes | |
static | $instance = null |
Cache for ilObjStudyProgrammes.
Implemented as singleton.
Definition at line 13 of file class.ilObjStudyProgrammeCache.php.
|
private |
Definition at line 16 of file class.ilObjStudyProgrammeCache.php.
ilObjStudyProgrammeCache::addInstance | ( | ilObjStudyProgramme | $a_prg | ) |
Definition at line 42 of file class.ilObjStudyProgrammeCache.php.
References ilObject\getRefId().
ilObjStudyProgrammeCache::getInstanceByRefId | ( | $a_ref_id | ) |
Definition at line 29 of file class.ilObjStudyProgrammeCache.php.
|
static |
Definition at line 20 of file class.ilObjStudyProgrammeCache.php.
References $instance.
Referenced by ilObjStudyProgramme\initStudyProgrammeCache(), and ilObjStudyProgrammeTest\testGetInstanceByRefId().
ilObjStudyProgrammeCache::test_clear | ( | ) |
For testing purpose.
TODO: Move to mock class in tests.
Definition at line 55 of file class.ilObjStudyProgrammeCache.php.
ilObjStudyProgrammeCache::test_isEmpty | ( | ) |
Definition at line 59 of file class.ilObjStudyProgrammeCache.php.
|
staticprivate |
Definition at line 14 of file class.ilObjStudyProgrammeCache.php.
Referenced by singleton().
|
protected |
Definition at line 27 of file class.ilObjStudyProgrammeCache.php.