trait DashboardExpressEntityTrait (View source)

Adds specific Dashboard endpoints for viewing an entity's results and advanced search.

Traits

Adds listing of dashboard express entries to a page.

Adds viewing, creation, update and deletion to a page.

Properties

protected Element $headerSearch from  DashboardExpressEntryListTrait
protected Element $headerMenu from  DashboardExpressEntryListTrait

Methods

getHeaderSearchAction(Entity $entity)

No description

createSearchResult(Entity $entity, Query $query)

No description

preset($presetID = null)

No description

Response
exportCsv(Entity $entity, $searchMethod = null, $savedSearchPresetId = null)

Export Express entries into a CSV.

getBackURL(Entity $entity)

No description

getCreateURL(Entity $entity, Entry $ownedBy = null)

No description

create_entry($id = null, $owner_entry_id = null)

No description

view_entry($id = null)

No description

edit_entry($id = null)

No description

submit($id = null)

No description

getExpressEntity()

No description

view()

No description

advanced_search($entityID = null)

No description

csv_export($entityID = null, $searchMethod = null, $savedSearchPresetId = null)

No description

Details

abstract Page getPageObject()

No description

Return Value

Page

protected getHeaderSearchAction(Entity $entity)

No description

Parameters

Entity $entity

protected getAdvancedSearchDialogPath()

No description

protected getHeaderMenu()

No description

protected getHeaderSearch()

No description

createBreadcrumbFactory()

No description

protected QueryFactory getQueryFactory()

No description

Return Value

QueryFactory

protected SearchProvider getSearchProvider(Entity $entity)

No description

Parameters

Entity $entity

Return Value

SearchProvider

protected createDefaultQuery(Entity $entity)

No description

Parameters

Entity $entity

protected Result createSearchResult(Entity $entity, Query $query)

No description

Parameters

Entity $entity
Query $query

Return Value

Result

protected getSearchKeywordsField()

No description

protected renderSearchResult(Result $result)

No description

Parameters

Result $result

protected renderExpressEntryDefaultResults(Entity $entity)

No description

Parameters

Entity $entity

protected renderExpressEntryAdvancedSearchResults(Entity $entity)

No description

Parameters

Entity $entity

preset($presetID = null)

No description

Parameters

$presetID

protected Response exportCsv(Entity $entity, $searchMethod = null, $savedSearchPresetId = null)

Export Express entries into a CSV.

Parameters

Entity $entity
$searchMethod
$savedSearchPresetId

Return Value

Response

protected getBackURL(Entity $entity)

No description

Parameters

Entity $entity

protected getCreateURL(Entity $entity, Entry $ownedBy = null)

No description

Parameters

Entity $entity
Entry $ownedBy

protected getEditEntryURL(Entry $entry)

No description

Parameters

Entry $entry

protected getViewEntryURL(Entry $entry)

No description

Parameters

Entry $entry

create_entry($id = null, $owner_entry_id = null)

No description

Parameters

$id
$owner_entry_id

delete_entry()

No description

view_entry($id = null)

No description

Parameters

$id

edit_entry($id = null)

No description

Parameters

$id

submit($id = null)

No description

Parameters

$id

abstract Entity getExpressEntity()

No description

Return Value

Entity

view()

No description

No description

Parameters

$entityID

csv_export($entityID = null, $searchMethod = null, $savedSearchPresetId = null)

No description

Parameters

$entityID
$searchMethod
$savedSearchPresetId