ILIAS  Release_4_2_x_branch Revision 61807
 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 
)
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: