|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Cache for ilObjStudyProgrammes. More...
Collaboration diagram for ilObjStudyProgrammeCache: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 17 of file class.ilObjStudyProgrammeCache.php.
| ilObjStudyProgrammeCache::addInstance | ( | ilObjStudyProgramme | $a_prg | ) |
Definition at line 46 of file class.ilObjStudyProgrammeCache.php.
References ilObject\getRefId().
Here is the call graph for this function:| ilObjStudyProgrammeCache::getInstanceByRefId | ( | $a_ref_id | ) |
Definition at line 32 of file class.ilObjStudyProgrammeCache.php.
|
static |
Definition at line 22 of file class.ilObjStudyProgrammeCache.php.
References $instance.
Referenced by ilObjStudyProgramme\initStudyProgrammeCache(), and ilObjStudyProgrammeTest\testGetInstanceByRefId().
Here is the caller graph for this function:| ilObjStudyProgrammeCache::test_clear | ( | ) |
For testing purpose.
TODO: Move to mock class in tests.
Definition at line 60 of file class.ilObjStudyProgrammeCache.php.
| ilObjStudyProgrammeCache::test_isEmpty | ( | ) |
Definition at line 65 of file class.ilObjStudyProgrammeCache.php.
|
staticprivate |
Definition at line 15 of file class.ilObjStudyProgrammeCache.php.
Referenced by singleton().
|
protected |
Definition at line 30 of file class.ilObjStudyProgrammeCache.php.