ExpressionEngine Docs

Category Group Settings Model

class ExpressionEngine\Model\CategoryGroupSettings

Properties

Name Validation Type Description
category_group_settings_id the primary key
site_id the site id
group_id required the category group id
channel_id required the channel id
cat_required boolString whether or not having a category in this group is required for this channel
cat_allow_multiple boolString whether or not having multiple selections is allowed in this category group for this channel

Relationships

Site

The MSM Site for which the Category Group belongs to.

Channel

Channel for which these settings are defined

CategoryGroup

Category Group for which these settings are defined

Methods

  • getAllCustomFields()
  • createCategoryField()
  • getContentType()
  • getCategoryTree()
  • getFieldMetadata()
  • populateCategories()
  • buildCategoryOptionsTree()
  • buildCategoryList($categories, $sort_column)

Events

  • afterDelete