\CatalogPageExtension
Class CatalogPageExtension
Synopsis
class CatalogPageExtension
extends DataExtension
{
- // members
- private static $parentClass;
- private static bool $can_duplicate = true;
- private static string $sort_column = 'Sort';
- private static bool $automatic_live_sort = true;
- // methods
- public void updateSummaryFields()
- public string isPublishedNice()
- public void updateCMSFields()
- public string getSortFieldname()
- public bool|DataList getCatalogParents()
Hierarchy
Extends
- DataExtension
Members
private
Methods
public
- getCatalogParents() — Gets the parents of this page
- getSortFieldname() — Gets the fieldname for the sort column. As we're on a subclass of SiteTree we assume 'Sort' as default.
- isPublishedNice() — Returns whether this page is published for the GridField
- updateCMSFields() — Adds functionality to CMS fields
- updateSummaryFields()