ExpressionEngine Docs

Category Model

class ExpressionEngine\Model\Category

Properties

Name Validation Type Description
cat_id
site_id
group_id
parent_id validateParentCategory
cat_name required, noHtml, xss
cat_url_title required, alphaDash, unique[group_id]
cat_description xss
cat_image
cat_order isNaturalNoZero

Relationships

  • CategoryGroup
  • ChannelEntries
  • Files
  • Parent
  • Children

Methods

  • getStructure()
  • getDisplay()
  • getAllChildren()
  • validateParentCategory()

Events

  • beforeInsert
  • beforeDelete