|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Search in mail folders. More...
Collaboration diagram for ILIAS\Mail\Folder\MailFolderSearch:Public Member Functions | |
| __construct (private readonly MailFolderData $folder, private readonly MailFilterData $filter, private readonly bool $lucene_enabled,) | |
| getCount () | |
| Get a cached count of mails for the filter criteria. More... | |
| getUnread () | |
| Get a cached count of unread mails for the filter criteria. More... | |
| getMaiIds () | |
| Get the ids of all filtered mails. More... | |
| getRecords () | |
| Get record objects of all filtered mails. More... | |
| getPagedRecords (int $limit, int $offset, ?MailBoxOrderColumn $order_column, ?string $order_direction) | |
| Get record objects of filtered and paged mails. More... | |
| forMailIds (array $ids) | |
| Inject already filtered mail ids, e.g. More... | |
Private Member Functions | |
| getFilteredIds () | |
| Get the cached mail ids from a lucene search for selected filter criteria These will be used as additional filter for the mailbox query. More... | |
Private Attributes | |
| MailBoxQuery | $mailbox_query |
| ilMailLuceneSearcher | $lucene_searcher = null |
| ilMailSearchResult | $lucene_result = null |
| array | $filtered_ids = null |
| int | $count = null |
| int | $unread = null |
Search in mail folders.
Definition at line 35 of file MailFolderSearch.php.
| ILIAS\Mail\Folder\MailFolderSearch::__construct | ( | private readonly MailFolderData | $folder, |
| private readonly MailFilterData | $filter, | ||
| private readonly bool | $lucene_enabled | ||
| ) |
Definition at line 45 of file MailFolderSearch.php.
References ILIAS\Repository\filter().
Here is the call graph for this function:| ILIAS\Mail\Folder\MailFolderSearch::forMailIds | ( | array | $ids | ) |
Inject already filtered mail ids, e.g.
from a selection
| int[] | $ids |
Definition at line 172 of file MailFolderSearch.php.
| ILIAS\Mail\Folder\MailFolderSearch::getCount | ( | ) |
Get a cached count of mails for the filter criteria.
Definition at line 89 of file MailFolderSearch.php.
References ILIAS\Mail\Folder\MailFolderSearch\$count, and ILIAS\Mail\Folder\MailFolderSearch\getFilteredIds().
Here is the call graph for this function:
|
private |
Get the cached mail ids from a lucene search for selected filter criteria These will be used as additional filter for the mailbox query.
Definition at line 156 of file MailFolderSearch.php.
Referenced by ILIAS\Mail\Folder\MailFolderSearch\getCount(), ILIAS\Mail\Folder\MailFolderSearch\getMaiIds(), ILIAS\Mail\Folder\MailFolderSearch\getRecords(), and ILIAS\Mail\Folder\MailFolderSearch\getUnread().
Here is the caller graph for this function:| ILIAS\Mail\Folder\MailFolderSearch::getMaiIds | ( | ) |
Get the ids of all filtered mails.
Definition at line 114 of file MailFolderSearch.php.
References ILIAS\Mail\Folder\MailFolderSearch\getFilteredIds().
Here is the call graph for this function:| ILIAS\Mail\Folder\MailFolderSearch::getPagedRecords | ( | int | $limit, |
| int | $offset, | ||
| ?MailBoxOrderColumn | $order_column, | ||
| ?string | $order_direction | ||
| ) |
Get record objects of filtered and paged mails.
Definition at line 136 of file MailFolderSearch.php.
| ILIAS\Mail\Folder\MailFolderSearch::getRecords | ( | ) |
Get record objects of all filtered mails.
Definition at line 125 of file MailFolderSearch.php.
References ILIAS\Mail\Folder\MailFolderSearch\getFilteredIds().
Here is the call graph for this function:| ILIAS\Mail\Folder\MailFolderSearch::getUnread | ( | ) |
Get a cached count of unread mails for the filter criteria.
Definition at line 101 of file MailFolderSearch.php.
References ILIAS\Mail\Folder\MailFolderSearch\$unread, and ILIAS\Mail\Folder\MailFolderSearch\getFilteredIds().
Here is the call graph for this function:
|
private |
Definition at line 42 of file MailFolderSearch.php.
Referenced by ILIAS\Mail\Folder\MailFolderSearch\getCount().
|
private |
Definition at line 41 of file MailFolderSearch.php.
|
private |
Definition at line 39 of file MailFolderSearch.php.
|
private |
Definition at line 38 of file MailFolderSearch.php.
|
private |
Definition at line 37 of file MailFolderSearch.php.
|
private |
Definition at line 43 of file MailFolderSearch.php.
Referenced by ILIAS\Mail\Folder\MailFolderSearch\getUnread().