ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilConditionTarget Class Reference

Represents a condition target object. More...

+ Collaboration diagram for ilConditionTarget:

Public Member Functions

 __construct ($ref_id, $obj_id, $obj_type)
 Constructor. More...
 
 getRefId ()
 Get ref id. More...
 
 getObjId ()
 Get obj id. More...
 
 getType ()
 Get type. More...
 

Protected Attributes

 $ref_id
 
 $obj_id
 
 $type
 

Detailed Description

Represents a condition target object.

Author
killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 11 of file class.ilConditionTarget.php.

Constructor & Destructor Documentation

◆ __construct()

ilConditionTarget::__construct (   $ref_id,
  $obj_id,
  $obj_type 
)

Constructor.

Definition at line 31 of file class.ilConditionTarget.php.

32 {
33 $this->ref_id = $ref_id;
34 $this->obj_id = $obj_id;
35 $this->type = $obj_type;
36 }

References $obj_id, and $ref_id.

Member Function Documentation

◆ getObjId()

ilConditionTarget::getObjId ( )

Get obj id.

Returns
int obj id

Definition at line 53 of file class.ilConditionTarget.php.

54 {
55 return $this->obj_id;
56 }

References $obj_id.

◆ getRefId()

ilConditionTarget::getRefId ( )

Get ref id.

Returns
int ref id

Definition at line 43 of file class.ilConditionTarget.php.

44 {
45 return $this->ref_id;
46 }

References $ref_id.

◆ getType()

ilConditionTarget::getType ( )

Get type.

Returns
string type

Definition at line 63 of file class.ilConditionTarget.php.

References $type.

Field Documentation

◆ $obj_id

ilConditionTarget::$obj_id
protected

Definition at line 21 of file class.ilConditionTarget.php.

Referenced by __construct(), and getObjId().

◆ $ref_id

ilConditionTarget::$ref_id
protected

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

Referenced by __construct(), and getRefId().

◆ $type

ilConditionTarget::$type
protected

Definition at line 26 of file class.ilConditionTarget.php.

Referenced by getType().


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