ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\Container\Content\ItemBlock\ItemBlock Class Reference
+ Collaboration diagram for ILIAS\Container\Content\ItemBlock\ItemBlock:

Public Member Functions

 __construct (string $block_id, Block $block, array $item_ref_ids, bool $limit_exhausted, array $objective_ids=[])
 
 getId ()
 
 setRenderId (string $render_id)
 
 getRenderId ()
 
 getBlock ()
 
 getLimitExhausted ()
 
 getItemRefIds ()
 
 getObjectiveIds ()
 
 setPosition (int $pos)
 
 getPosition ()
 
 setPageEmbedded (bool $embedded)
 
 getPageEmbedded ()
 

Protected Attributes

array $objective_ids = []
 
bool $page_embedded = false
 
int $pos = 0
 
array $item_ref_ids = []
 
Block $block
 
string $block_id = ""
 
string $render_id = ""
 
bool $limit_exhausted = false
 

Detailed Description

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

Definition at line 28 of file class.ItemBlock.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Container\Content\ItemBlock\ItemBlock::__construct ( string  $block_id,
Block  $block,
array  $item_ref_ids,
bool  $limit_exhausted,
array  $objective_ids = [] 
)

Member Function Documentation

◆ getBlock()

ILIAS\Container\Content\ItemBlock\ItemBlock::getBlock ( )

◆ getId()

ILIAS\Container\Content\ItemBlock\ItemBlock::getId ( )

Definition at line 56 of file class.ItemBlock.php.

56 : string
57 {
58 return $this->block_id;
59 }

References ILIAS\Container\Content\ItemBlock\ItemBlock\$block_id.

◆ getItemRefIds()

ILIAS\Container\Content\ItemBlock\ItemBlock::getItemRefIds ( )
Returns
int[]

Definition at line 84 of file class.ItemBlock.php.

84 : array
85 {
87 }

References ILIAS\Container\Content\ItemBlock\ItemBlock\$item_ref_ids.

◆ getLimitExhausted()

ILIAS\Container\Content\ItemBlock\ItemBlock::getLimitExhausted ( )

Definition at line 76 of file class.ItemBlock.php.

76 : bool
77 {
79 }

References ILIAS\Container\Content\ItemBlock\ItemBlock\$limit_exhausted.

◆ getObjectiveIds()

ILIAS\Container\Content\ItemBlock\ItemBlock::getObjectiveIds ( )
Returns
int[]

Definition at line 92 of file class.ItemBlock.php.

92 : array
93 {
95 }

References ILIAS\Container\Content\ItemBlock\ItemBlock\$objective_ids.

◆ getPageEmbedded()

ILIAS\Container\Content\ItemBlock\ItemBlock::getPageEmbedded ( )

◆ getPosition()

ILIAS\Container\Content\ItemBlock\ItemBlock::getPosition ( )

Definition at line 102 of file class.ItemBlock.php.

102 : int
103 {
104 return $this->pos;
105 }

References ILIAS\Container\Content\ItemBlock\ItemBlock\$pos.

◆ getRenderId()

ILIAS\Container\Content\ItemBlock\ItemBlock::getRenderId ( )

◆ setPageEmbedded()

ILIAS\Container\Content\ItemBlock\ItemBlock::setPageEmbedded ( bool  $embedded)

Definition at line 107 of file class.ItemBlock.php.

107 : void
108 {
109 $this->page_embedded = $embedded;
110 }

◆ setPosition()

ILIAS\Container\Content\ItemBlock\ItemBlock::setPosition ( int  $pos)

Definition at line 97 of file class.ItemBlock.php.

97 : void
98 {
99 $this->pos = $pos;
100 }

References ILIAS\Container\Content\ItemBlock\ItemBlock\$pos.

◆ setRenderId()

ILIAS\Container\Content\ItemBlock\ItemBlock::setRenderId ( string  $render_id)

Definition at line 61 of file class.ItemBlock.php.

61 : void
62 {
63 $this->render_id = $render_id;
64 }

References ILIAS\Container\Content\ItemBlock\ItemBlock\$render_id.

Field Documentation

◆ $block

◆ $block_id

string ILIAS\Container\Content\ItemBlock\ItemBlock::$block_id = ""
protected

◆ $item_ref_ids

◆ $limit_exhausted

bool ILIAS\Container\Content\ItemBlock\ItemBlock::$limit_exhausted = false
protected

◆ $objective_ids

◆ $page_embedded

bool ILIAS\Container\Content\ItemBlock\ItemBlock::$page_embedded = false
protected

◆ $pos

◆ $render_id


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