ILIAS  trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
ILIAS\UI\Implementation\Component\Item\Standard Class Reference
+ Inheritance diagram for ILIAS\UI\Implementation\Component\Item\Standard:
+ Collaboration diagram for ILIAS\UI\Implementation\Component\Item\Standard:

Public Member Functions

 withColor (Color $color)
 
 getColor ()
 
 withLeadImage (Image $image)
 
 withLeadAvatar (Avatar $avatar)
 
 withAudioPlayer (Audio $audio)
 
 getAudioPlayer ()
 
 withLeadIcon (Icon $icon)
 
 withLeadText (string $text)
 
 withNoLead ()
 
 getLead ()
 
 withProgress (C\Chart\ProgressMeter\ProgressMeter $chart)
 
 getProgress ()
 
 withActions (C\Dropdown\Standard $actions)
 
 getActions ()
 
 withMainAction (ButtonStandard|LinkStandard $button)
 
 getMainAction ()
 
- Public Member Functions inherited from ILIAS\UI\Implementation\Component\Item\Item
 __construct ($title)
 Item constructor. More...
 
 getTitle ()
 
 withDescription (string $description)
 
 getDescription ()
 
 withProperties (array $properties)
 
 getProperties ()
 
 withActions (C\Dropdown\Standard $actions)
 
 getActions ()
 

Protected Attributes

Color $color = null
 
 $lead = null
 
C Chart ProgressMeter ProgressMeter $chart = null
 
Audio $audio = null
 
ButtonStandard LinkStandard null $main_action = null
 
- Protected Attributes inherited from ILIAS\UI\Implementation\Component\Item\Item
 $title
 
string $desc = null
 
array $props
 
C Dropdown Standard $actions = null
 
 $lead = null
 

Detailed Description

Definition at line 32 of file Standard.php.

Member Function Documentation

◆ getActions()

ILIAS\UI\Implementation\Component\Item\Standard::getActions ( )

Definition at line 163 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Item\$actions.

163  : ?C\Dropdown\Standard
164  {
165  return $this->actions;
166  }

◆ getAudioPlayer()

ILIAS\UI\Implementation\Component\Item\Standard::getAudioPlayer ( )

Definition at line 92 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Standard\$audio.

92  : ?Audio
93  {
94  return $this->audio;
95  }

◆ getColor()

ILIAS\UI\Implementation\Component\Item\Standard::getColor ( )

Definition at line 57 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Standard\$color.

57  : ?Color
58  {
59  return $this->color;
60  }

◆ getLead()

ILIAS\UI\Implementation\Component\Item\Standard::getLead ( )

◆ getMainAction()

ILIAS\UI\Implementation\Component\Item\Standard::getMainAction ( )

Definition at line 175 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Standard\$main_action.

176  {
177  return $this->main_action;
178  }
ButtonStandard LinkStandard null $main_action
Definition: Standard.php:42

◆ getProgress()

ILIAS\UI\Implementation\Component\Item\Standard::getProgress ( )

Definition at line 145 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Standard\$chart.

145  : ?C\Chart\ProgressMeter\ProgressMeter
146  {
147  return $this->chart;
148  }
C Chart ProgressMeter ProgressMeter $chart
Definition: Standard.php:40

◆ withActions()

ILIAS\UI\Implementation\Component\Item\Standard::withActions ( C\Dropdown\Standard  $actions)

Definition at line 153 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Item\$actions.

153  : C\Item\Standard
154  {
155  $clone = clone $this;
156  $clone->actions = $actions;
157  return $clone;
158  }

◆ withAudioPlayer()

ILIAS\UI\Implementation\Component\Item\Standard::withAudioPlayer ( Audio  $audio)

Definition at line 85 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Standard\$audio.

85  : C\Item\Standard
86  {
87  $clone = clone $this;
88  $clone->audio = $audio;
89  return $clone;
90  }

◆ withColor()

ILIAS\UI\Implementation\Component\Item\Standard::withColor ( Color  $color)

Definition at line 47 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Standard\$color.

47  : C\Item\Standard
48  {
49  $clone = clone $this;
50  $clone->color = $color;
51  return $clone;
52  }

◆ withLeadAvatar()

ILIAS\UI\Implementation\Component\Item\Standard::withLeadAvatar ( Avatar  $avatar)

Definition at line 75 of file Standard.php.

75  : C\Item\Standard
76  {
77  $clone = clone $this;
78  $clone->lead = $avatar;
79  return $clone;
80  }

◆ withLeadIcon()

ILIAS\UI\Implementation\Component\Item\Standard::withLeadIcon ( Icon  $icon)

Definition at line 100 of file Standard.php.

100  : C\Item\Standard
101  {
102  $clone = clone $this;
103  $clone->lead = $icon;
104  return $clone;
105  }

◆ withLeadImage()

ILIAS\UI\Implementation\Component\Item\Standard::withLeadImage ( Image  $image)

Definition at line 65 of file Standard.php.

65  : C\Item\Standard
66  {
67  $clone = clone $this;
68  $clone->lead = $image;
69  return $clone;
70  }

◆ withLeadText()

ILIAS\UI\Implementation\Component\Item\Standard::withLeadText ( string  $text)

Definition at line 110 of file Standard.php.

110  : C\Item\Standard
111  {
112  $clone = clone $this;
113  $clone->lead = $text;
114  return $clone;
115  }

◆ withMainAction()

ILIAS\UI\Implementation\Component\Item\Standard::withMainAction ( ButtonStandard|LinkStandard  $button)

Definition at line 168 of file Standard.php.

168  : C\Item\Standard
169  {
170  $clone = clone $this;
171  $clone->main_action = $button;
172  return $clone;
173  }

◆ withNoLead()

ILIAS\UI\Implementation\Component\Item\Standard::withNoLead ( )

Definition at line 120 of file Standard.php.

120  : C\Item\Standard
121  {
122  $clone = clone $this;
123  $clone->lead = null;
124  return $clone;
125  }

◆ withProgress()

ILIAS\UI\Implementation\Component\Item\Standard::withProgress ( C\Chart\ProgressMeter\ProgressMeter  $chart)

Definition at line 138 of file Standard.php.

References ILIAS\UI\Implementation\Component\Item\Standard\$chart.

138  : C\Item\Standard
139  {
140  $clone = clone $this;
141  $clone->chart = $chart;
142  return $clone;
143  }
C Chart ProgressMeter ProgressMeter $chart
Definition: Standard.php:40

Field Documentation

◆ $audio

Audio ILIAS\UI\Implementation\Component\Item\Standard::$audio = null
protected

◆ $chart

C Chart ProgressMeter ProgressMeter ILIAS\UI\Implementation\Component\Item\Standard::$chart = null
protected

◆ $color

Color ILIAS\UI\Implementation\Component\Item\Standard::$color = null
protected

◆ $lead

ILIAS\UI\Implementation\Component\Item\Standard::$lead = null
protected

◆ $main_action

ButtonStandard LinkStandard null ILIAS\UI\Implementation\Component\Item\Standard::$main_action = null
protected

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