|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\News\Table\NewsItemTable:
Collaboration diagram for ILIAS\News\Table\NewsItemTable:Public Member Functions | |
| __construct (protected Factory $ui_factory, protected ilLanguage $lng, protected ServerRequestInterface $request, protected ilCtrl $ctrl, protected ilSetting $setting, protected Renderer $ui_renderer, protected NewsAccess $news_access, protected ilUIFilterService $filter_service, protected NewsCollectionService $news_collection_service, protected ilObjUser $user, protected HttpService $http_service, protected ilGlobalTemplateInterface $main_tpl, protected Refinery $refinery,) | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
| getTableId () | |
| getComponents (URLBuilder $url_builder) | |
| execute (URLBuilder $url_builder) | |
| getTableId () | |
| execute (URLBuilder $url_builder) | |
| getComponents (URLBuilder $url_builder) | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
Data Fields | |
| const string | URL_NS = 'nmit' |
| const string | ROW_ID_PARAMETER = 'news_item_row' |
| const string | ACTION_PARAMETER = 'action' |
| const string | ACTION_TYPE_PARAMETER = 'action_type' |
Protected Member Functions | |
| acquireParameters (URLBuilder $url_builder) | |
| getTableActions () | |
Protected Attributes | |
| StandardFilter | $filter = null |
Private Member Functions | |
| getColumns () | |
| extractFilterData (mixed $filter_data) | |
| getNewsRequestContext () | |
| isInternalRssEnabled () | |
| sortRecords (array $records, Order $order) | |
| limitRecords (array $records, Range $range) | |
| getFilter () | |
| buildOverviewCriteria (string $context_obj_type) | |
| loadNewsCollection () | |
| loadRecords (?array $filter_data=null) | |
| itemMatchesFilters (NewsItem $item, string $search_text, string $filter_access, string $filter_author, bool $enable_internal_rss) | |
| itemShouldAppearInTable (NewsItem $item) | |
| renderPostCell (NewsItem $item) | |
| renderAccessDisplay (NewsItem $item) | |
| renderAuthorDisplay (NewsItem $item) | |
| assignedToMarkupOrNull (NewsItem $item) | |
| getItemAccess (NewsItem $item, bool $enable_internal_rss) | |
Definition at line 58 of file NewsItemTable.php.
| ILIAS\News\Table\NewsItemTable::__construct | ( | protected Factory | $ui_factory, |
| protected ilLanguage | $lng, | ||
| protected ServerRequestInterface | $request, | ||
| protected ilCtrl | $ctrl, | ||
| protected ilSetting | $setting, | ||
| protected Renderer | $ui_renderer, | ||
| protected NewsAccess | $news_access, | ||
| protected ilUIFilterService | $filter_service, | ||
| protected NewsCollectionService | $news_collection_service, | ||
| protected ilObjUser | $user, | ||
| protected HttpService | $http_service, | ||
| protected ilGlobalTemplateInterface | $main_tpl, | ||
| protected Refinery | $refinery | ||
| ) |
Definition at line 69 of file NewsItemTable.php.
|
protected |
Definition at line 217 of file NewsItemTable.php.
References ILIAS\UI\URLBuilder\acquireParameters().
Here is the call graph for this function:
|
private |
Definition at line 437 of file NewsItemTable.php.
References ilObject\_getAllReferences(), ilObject\_lookupTitle(), ILIAS\Repository\ctrl(), ILIAS\News\Data\NewsItem\getContextObjId(), ILIAS\News\Data\NewsItem\getContextObjType(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 283 of file NewsItemTable.php.
| ILIAS\News\Table\NewsItemTable::execute | ( | URLBuilder | $url_builder | ) |
Implements ILIAS\News\Common\Table\Table.
Definition at line 481 of file NewsItemTable.php.
References ILIAS\BookingManager\Common\Table\getTableActions().
Here is the call graph for this function:
|
private |
Definition at line 141 of file NewsItemTable.php.
|
private |
Definition at line 113 of file NewsItemTable.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ILIAS\News\Table\NewsItemTable::getComponents | ( | URLBuilder | $url_builder | ) |
Implements ILIAS\News\Common\Table\Table.
Definition at line 195 of file NewsItemTable.php.
References ILIAS\Repository\filter(), ILIAS\BookingManager\Common\Table\getTableActions(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 242 of file NewsItemTable.php.
References $user_id, ilObjUser\_lookupLogin(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 464 of file NewsItemTable.php.
References ilBlockSetting\_lookup(), ILIAS\News\Data\NewsItem\getContextObjId(), ILIAS\News\Data\NewsItem\getPriority(), and ILIAS\News\Data\NewsItem\getVisibility().
Here is the call graph for this function:
|
private |
Definition at line 148 of file NewsItemTable.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\News\Table\NewsItemTable::getRows | ( | DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g.
yield $row_builder->buildStandardRow($row_id, $record).
| string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 86 of file NewsItemTable.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), and ILIAS\News\Table\NewsItemTable\getTableActions().
Here is the call graph for this function:
|
protected |
Definition at line 227 of file NewsItemTable.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by ILIAS\News\Table\NewsItemTable\getRows().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\News\Table\NewsItemTable::getTableId | ( | ) |
Implements ILIAS\News\Common\Table\Table.
Definition at line 187 of file NewsItemTable.php.
| ILIAS\News\Table\NewsItemTable::getTotalRowCount | ( | mixed | $additional_viewcontrol_data, |
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available.
Given the nature of a DataTable, which is, opposite to a PresentationTable, rather administrative than explorative, this information will increase user experience quite a bit. However, you may return null, if the call is to costly, but expect the View Control to look a little different in this case.
Make sure that potential filters or user restrictions are being applied to the count.
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 136 of file NewsItemTable.php.
|
private |
Definition at line 158 of file NewsItemTable.php.
|
private |
Definition at line 360 of file NewsItemTable.php.
References ILIAS\News\Data\NewsItem\getContent(), ILIAS\News\Data\NewsItem\getContentLong(), and ILIAS\News\Data\NewsItem\getTitle().
Here is the call graph for this function:
|
private |
Definition at line 398 of file NewsItemTable.php.
References ILIAS\News\Data\NewsItem\getId().
Here is the call graph for this function:
|
private |
Definition at line 182 of file NewsItemTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Here is the call graph for this function:
|
private |
Definition at line 293 of file NewsItemTable.php.
References ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 308 of file NewsItemTable.php.
References $data.
|
private |
Definition at line 422 of file NewsItemTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 431 of file NewsItemTable.php.
References ilObjUser\_lookupLogin(), and ILIAS\News\Data\NewsItem\getUserId().
Here is the call graph for this function:
|
private |
Definition at line 403 of file NewsItemTable.php.
References ILIAS\News\Data\NewsItem\getId(), ILIAS\News\Data\NewsItem\getTitle(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 163 of file NewsItemTable.php.
References ILIAS\Data\Order\DESC, and ILIAS\Data\Order\get().
Here is the call graph for this function:
|
protected |
Definition at line 67 of file NewsItemTable.php.
| const string ILIAS\News\Table\NewsItemTable::ACTION_PARAMETER = 'action' |
Definition at line 64 of file NewsItemTable.php.
| const string ILIAS\News\Table\NewsItemTable::ACTION_TYPE_PARAMETER = 'action_type' |
Definition at line 65 of file NewsItemTable.php.
| const string ILIAS\News\Table\NewsItemTable::ROW_ID_PARAMETER = 'news_item_row' |
Definition at line 63 of file NewsItemTable.php.
| const string ILIAS\News\Table\NewsItemTable::URL_NS = 'nmit' |
Definition at line 62 of file NewsItemTable.php.