ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilLPCollectionCache Class Reference
+ Collaboration diagram for ilLPCollectionCache:

Public Member Functions

_getItems ($a_obj_id, $a_use_subtree_by_id=false)

Static Public Member Functions

static getGroupedItems ($a_obj_id, $a_use_subtree_by_id=false)

Detailed Description

Definition at line 36 of file class.ilLPCollectionCache.php.

Member Function Documentation

& ilLPCollectionCache::_getItems (   $a_obj_id,
  $a_use_subtree_by_id = false 
)

Definition at line 38 of file class.ilLPCollectionCache.php.

Referenced by ilLearningProgressBaseGUI\__readItemStatusInfo(), ilLPStatusCollection\_getInProgress(), ilLPStatusSCORM\_getStatusInfo(), ilLPStatusCollection\_getStatusInfo(), ilTimingCache\_showWarning(), ilLPListOfProgressGUI\details(), ilLPStatusSCORM\determinePercentage(), ilLPStatusSCORM\determineStatus(), ilTrUserObjectsPropsTableGUI\getObjectHierarchy(), and ilTrQuery\getObjectIds().

{
static $cache = array();
if(isset($cache[$a_obj_id]))
{
return $cache[$a_obj_id];
}
$cache[$a_obj_id] =& ilLPCollections::_getItems($a_obj_id, $a_use_subtree_by_id);
return $cache[$a_obj_id];
}

+ Here is the caller graph for this function:

static ilLPCollectionCache::getGroupedItems (   $a_obj_id,
  $a_use_subtree_by_id = false 
)
static

Definition at line 50 of file class.ilLPCollectionCache.php.

Referenced by ilLPStatusCollection\_getCompleted(), ilLPStatusCollection\_getFailed(), and ilLPStatusCollection\determineStatus().

{
static $cache = array();
if(isset($cache[$a_obj_id]))
{
return $cache[$a_obj_id];
}
return $cache[$a_obj_id] = ilLPCollections::getGroupedItems($a_obj_id, $a_use_subtree_by_id);
}

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: