Overview

Namespaces

  • Charcoal
    • Admin
      • Widget
        • Cms
    • Cms
      • Config
      • Mixin
        • Traits
      • Route
      • Section
      • Service
        • Loader
        • Manager
      • ServiceProvider
      • Support
        • Helpers
        • Interfaces
        • Traits
    • Property

Interfaces

  • HasContentBlocksInterface
  • Overview
  • Namespace
  • Class

Interface HasContentBlocksInterface

Defines flexible nodes of palpable content (e.g., a magazine or newspaper article, a blog entry).

See HasContentBlocksTrait for a basic implementation.

Namespace: Charcoal\Cms\Mixin
Located at Charcoal/Cms/Mixin/HasContentBlocksInterface.php
Methods summary
public Collection|Attachment[]
# contentBlocks( )

Retrieve this object's content blocks.

Retrieve this object's content blocks.

Returns

Collection|Attachment[]
public boolean
# hasContentBlocks( )

Determine if this object has any content blocks.

Determine if this object has any content blocks.

Returns

boolean
public integer
# numContentBlocks( )

Count the number of content blocks associated to this object.

Count the number of content blocks associated to this object.

Returns

integer
public Translation
# defaultMetaDescription( )

Returns

Translation
API documentation generated by ApiGen