ExpressionEngine Docs

Getting Started

The Fundamentals

Advanced Usage

Best Practices

Community

Category Group Model

class ExpressionEngine\Model\CategoryGroup

Properties

Name Validation Type Description
group_id
site_id
group_name required, unique[site_id]
sort_order enum[a,c]
exclude_group enum[0,1,2]
field_html_formatting enum[all,safe,none]
can_edit_categories
can_delete_categories

Relationships

Site

The MSM Site which the Category Group belongs to.

CategoryGroupSettings

Per-channel settings for this Category Group.

CategoryFields

Custom fields associated with this Category Group

Categories

Collection of categories that have been created in this group

Channels

Channels that this Category Group has been assigned to

UploadDestinations

File upload directories that this Category Group has been assigned to

Methods

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

Events

  • afterDelete

ExpressionEngine 7 Docs
©2002–2024 Packet Tide,LLC.
Edit this page

AltStyle によって変換されたページ (->オリジナル) /