|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilObjStudyProgrammeCache: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().
Here is the call graph for this function:| ilObjStudyProgrammeCache::getInstanceByRefId | ( | int | $ref_id | ) |
Definition at line 48 of file class.ilObjStudyProgrammeCache.php.
References $ref_id, $type, and ilObject\_lookupType().
Here is the call graph for this function:
|
static |
Definition at line 40 of file class.ilObjStudyProgrammeCache.php.
References $instance.
Referenced by ilObjStudyProgramme\initStudyProgrammeCache(), and ilObjStudyProgrammeCacheTest\testCreateBySingleton().
Here is the caller graph for this function:| 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.
Referenced by singleton().
|
protected |
Definition at line 33 of file class.ilObjStudyProgrammeCache.php.