Overview

Namespaces

  • Charcoal
    • Object
    • User
      • Acl

Classes

  • Content
  • ObjectRevision
  • ObjectRoute
  • ObjectSchedule
  • UserData

Interfaces

  • ArchivableInterface
  • CategorizableInterface
  • CategorizableMultipleInterface
  • CategoryInterface
  • ContentInterface
  • HierarchicalInterface
  • ObjectRevisionInterface
  • ObjectRouteInterface
  • ObjectScheduleInterface
  • PublishableInterface
  • RevisionableInterface
  • RoutableInterface
  • UserDataInterface

Traits

  • ArchivableTrait
  • CategorizableMultipleTrait
  • CategorizableTrait
  • CategoryTrait
  • HierarchicalTrait
  • PublishableTrait
  • RevisionableTrait
  • RoutableTrait
  • Overview
  • Namespace
  • Class

Trait CategoryTrait

Direct Known Users

Charcoal\User\Acl\PermissionCategory
Namespace: Charcoal\Object
Located at Charcoal/Object/CategoryTrait.php
Methods summary
public Charcoal\Object\CategoryInterface
# setCategoryItemType( string $type )

Parameters

$type
The category item type.

Returns

Charcoal\Object\CategoryInterface
Chainable

Throws

InvalidArgumentException
If the type argument is not a string.
public string
# categoryItemType( )

Returns

string

Throws

Exception
If no item type was previously set.
public integer
# numCategoryItems( )

Returns

integer
public boolean
# hasCategoryItems( )

Returns

boolean
public Collection
# categoryItems( )

Returns

Collection
A list of CategorizableInterface objects
abstract public Collection
# loadCategoryItems( )

Returns

Collection
API documentation generated by ApiGen