ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPluginLP Class Reference
+ Inheritance diagram for ilPluginLP:
+ Collaboration diagram for ilPluginLP:

Public Member Functions

 getPluginInstance ()
 getDefaultMode ()
 getValidModes ()
 getCurrentMode ()
- Public Member Functions inherited from ilObjectLP
 resetCaches ()
 isAnonymized ()
 isActive ()
 getModeText ($a_mode)
 getModeInfoText ($a_mode)
 getCollectionInstance ()
 getMembers ($a_search=true)
 resetLPDataForCompleteObject ($a_recursive=true)
 resetLPDataForUserIds (array $a_user_ids, $a_recursive=true)
 handleToTrash ()
 handleDelete ()

Data Fields

const INACTIVE_PLUGIN = -1

Protected Member Functions

 __construct ($a_obj_id)
 initPlugin ()
- Protected Member Functions inherited from ilObjectLP
 resetCustomLPDataForUserIds (array $a_user_ids, $a_recursive=true)
 gatherLPUsers ()
 updateParentCollections ()

Protected Attributes

 $status
- Protected Attributes inherited from ilObjectLP
 $obj_id
 $collection_instance
 $mode

Additional Inherited Members

- Static Public Member Functions inherited from ilObjectLP
static getInstance ($a_obj_id)
static handleMove ($a_source_ref_id)

Detailed Description

Definition at line 14 of file class.ilPluginLP.php.

Constructor & Destructor Documentation

ilPluginLP::__construct (   $a_obj_id)
protected

Reimplemented from ilObjectLP.

Definition at line 20 of file class.ilPluginLP.php.

References initPlugin().

{
parent::__construct($a_obj_id);
$this->initPlugin();
}

+ Here is the call graph for this function:

Member Function Documentation

ilPluginLP::getCurrentMode ( )

Reimplemented from ilObjectLP.

Definition at line 64 of file class.ilPluginLP.php.

References ilLPObjSettings\LP_MODE_PLUGIN, and ilLPObjSettings\LP_MODE_UNDEFINED.

{
if($this->status !== null)
{
}
}
ilPluginLP::getDefaultMode ( )

Reimplemented from ilObjectLP.

Definition at line 51 of file class.ilPluginLP.php.

References ilLPObjSettings\LP_MODE_UNDEFINED.

ilPluginLP::getPluginInstance ( )

Definition at line 46 of file class.ilPluginLP.php.

References $status.

{
return $this->status;
}
ilPluginLP::getValidModes ( )
ilPluginLP::initPlugin ( )
protected

Definition at line 27 of file class.ilPluginLP.php.

References ilObject\_lookupType(), ilObjectFactory\getInstanceByObjId(), INACTIVE_PLUGIN, and ilRepositoryObjectPluginSlot\isTypePluginWithLP().

Referenced by __construct().

{
// active plugin?
include_once 'Services/Repository/classes/class.ilRepositoryObjectPluginSlot.php';
{
$obj = ilObjectFactory::getInstanceByObjId($this->obj_id, false); // #12640
if($obj && $obj instanceof ilLPStatusPluginInterface)
{
$this->status = $obj;
}
}
// inactive plugin?
{
$this->status = self::INACTIVE_PLUGIN;
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Field Documentation

ilPluginLP::$status
protected

Definition at line 16 of file class.ilPluginLP.php.

Referenced by getPluginInstance().


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