ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 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 = ""
 
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 54 of file class.ItemBlock.php.

54 : string
55 {
56 return $this->block_id;
57 }

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

◆ getItemRefIds()

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

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

72 : array
73 {
75 }

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

◆ getLimitExhausted()

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

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

64 : bool
65 {
67 }

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

◆ getObjectiveIds()

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

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

80 : array
81 {
83 }

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

◆ getPageEmbedded()

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

◆ getPosition()

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

◆ setPageEmbedded()

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

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

95 : void
96 {
97 $this->page_embedded = $embedded;
98 }

◆ setPosition()

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

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

85 : void
86 {
87 $this->pos = $pos;
88 }

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

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


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