Contents

Tailor\Classes\BlueprintIndexer\PageManagerRegistry


Public Methods

public getPageManagerTypeInfo()

public getPageManagerTypeInfo($type): array 

public listPageManagerTypes()

public listPageManagerTypes(): array 

listPrimaryNavigation

public resolvePageManagerItem()

public resolvePageManagerItem($type, $item, $url, $theme): array 

Protected Methods

protected extractItemUrlParams()

protected extractItemUrlParams($item): array 

extractItemUrlParams returns URL-relevant params from a PageLookupItem, filtering out known metadata keys.

protected getBlueprintUuidFromTypename()

protected getBlueprintUuidFromTypename($typeName): void

protected getPageManagerPageUrl()

protected getPageManagerPageUrl($pageCode, $record, $theme, $item = null): void

protected getPageManagerSites()

protected getPageManagerSites($pageCode, $record, $theme): array 

protected listBlueprintCmsPagesForPageInfo()

protected listBlueprintCmsPagesForPageInfo($model): void

protected listRecordOptionsForPageInfo()

protected listRecordOptionsForPageInfo($model, $query): void

protected pageManagerBlueprintToType()

protected pageManagerBlueprintToType($blueprint): string 

protected pageManagerTypeToBlueprint()

protected pageManagerTypeToBlueprint(
    $typeName
): Tailor\Classes\Blueprint\EntryBlueprint|null 

protected pageManagerTypeToModel()

protected pageManagerTypeToModel($typeName): void

pageManagerTypeToModel returns the resolved model and its scoped query for a given type

protected resolvePageManagerItemAsChildren()

protected resolvePageManagerItemAsChildren(
    $children,
    $item,
    $theme,
    $url,
    $recursive = true
): void

protected resolvePageManagerItemAsList()

protected resolvePageManagerItemAsList($type, $item, $url, $theme): array 

protected resolvePageManagerItemAsReference()

protected resolvePageManagerItemAsReference($type, $item, $url, $theme): array