ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\UI\Component\Table\PresentationRow Interface Reference

This describes a Row used in Presentation Table. More...

+ Inheritance diagram for ILIAS\UI\Component\Table\PresentationRow:
+ Collaboration diagram for ILIAS\UI\Component\Table\PresentationRow:

Public Member Functions

 withHeadline (string $headline)
 Get a row like this with the given headline. More...
 
 withSubheadline (string $subheadline)
 Get a row like this with the given subheadline. More...
 
 withImportantFields (array $fields)
 Get a row like this with the record-fields and labels to be shown in the collapsed row. More...
 
 withContent (Block $content)
 Get a row like this with content. More...
 
 withFurtherFieldsHeadline (string $headline)
 Get a row like this with a headline for the field-list in the expanded row. More...
 
 withFurtherFields (array $fields)
 Get a row like this with the record-fields and labels to be shown in the list of the expanded row. More...
 
 withAction ($action)
 Get a row like this with a button or a dropdown for actions in the expanded row. More...
 
 getShowSignal ()
 Get the signal to expand the row. More...
 
 getCloseSignal ()
 Get the signal to collapse the row. More...
 
 getToggleSignal ()
 Get the signal to toggle (expand/collapse) the row. More...
 
 withLeadingSymbol (Symbol $symbol)
 Add a Symbol to the row's title. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Component
 getCanonicalName ()
 Get the canonical name of the component. More...
 
 reduceWith (\Closure $fn)
 The scheme starts at the leaves of the structure and applies the function to each leave and moves up the tree recursively. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\Triggerable
 withResetSignals ()
 Get a component like this but reset (regenerate) its signals. More...
 
- Public Member Functions inherited from ILIAS\UI\Component\JavaScriptBindable
 withOnLoadCode (Closure $binder)
 
 withAdditionalOnLoadCode (Closure $binder)
 Add some onload-code to the component instead of replacing the existing one. More...
 
 getOnLoadCode ()
 Get the currently bound on load code. More...
 

Detailed Description

This describes a Row used in Presentation Table.

A row consists (potentially) of title, subtitle, important fields (in the collapsed row) and further fields to be shown in the expanded row.

Definition at line 36 of file PresentationRow.php.

Member Function Documentation

◆ getCloseSignal()

ILIAS\UI\Component\Table\PresentationRow::getCloseSignal ( )

Get the signal to collapse the row.

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

◆ getShowSignal()

ILIAS\UI\Component\Table\PresentationRow::getShowSignal ( )

Get the signal to expand the row.

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

◆ getToggleSignal()

ILIAS\UI\Component\Table\PresentationRow::getToggleSignal ( )

Get the signal to toggle (expand/collapse) the row.

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

◆ withAction()

ILIAS\UI\Component\Table\PresentationRow::withAction (   $action)

Get a row like this with a button or a dropdown for actions in the expanded row.

Parameters
Button | Dropdown$action

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

Referenced by UploadPoliciesTableUI\__construct(), and ILIAS\components\ResourceStorage\Resources\UI\RevisionToComponent\getAsRowMapping().

+ Here is the caller graph for this function:

◆ withContent()

ILIAS\UI\Component\Table\PresentationRow::withContent ( Block  $content)

Get a row like this with content.

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

◆ withFurtherFields()

ILIAS\UI\Component\Table\PresentationRow::withFurtherFields ( array  $fields)

Get a row like this with the record-fields and labels to be shown in the list of the expanded row.

Parameters
array<string,string>$fields

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

◆ withFurtherFieldsHeadline()

ILIAS\UI\Component\Table\PresentationRow::withFurtherFieldsHeadline ( string  $headline)

Get a row like this with a headline for the field-list in the expanded row.

◆ withHeadline()

◆ withImportantFields()

ILIAS\UI\Component\Table\PresentationRow::withImportantFields ( array  $fields)

Get a row like this with the record-fields and labels to be shown in the collapsed row.

Parameters
array<string,string>$fields

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

Referenced by ILIAS\components\ResourceStorage\Resources\UI\ResourceToComponent\__construct().

+ Here is the caller graph for this function:

◆ withLeadingSymbol()

ILIAS\UI\Component\Table\PresentationRow::withLeadingSymbol ( Symbol  $symbol)

Add a Symbol to the row's title.

Implemented in ILIAS\UI\Implementation\Component\Table\PresentationRow.

◆ withSubheadline()

ILIAS\UI\Component\Table\PresentationRow::withSubheadline ( string  $subheadline)

Get a row like this with the given subheadline.


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