Overview

Namespaces

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

Classes

  • AbstractDocument
  • AbstractEvent
  • AbstractFaq
  • AbstractImage
  • AbstractNews
  • AbstractSection
  • AbstractText
  • AbstractVideo
  • Config
  • Document
  • DocumentCategory
  • EmptySection
  • Event
  • EventCategory
  • ExternalSection
  • Faq
  • FaqCategory
  • Image
  • ImageCategory
  • News
  • NewsCategory
  • Section
  • Tag
  • Text
  • TextCategory
  • Video
  • VideoCategory

Interfaces

  • DocumentInterface
  • EventInterface
  • FaqInterface
  • ImageInterface
  • MetatagInterface
  • NewsInterface
  • SearchableInterface
  • SectionInterface
  • TemplateableInterface
  • TextInterface
  • VideoInterface

Traits

  • MetatagTrait
  • SearchableTrait
  • TemplateableTrait
  • Overview
  • Namespace
  • Class

Trait TemplateableTrait

Default implementation, as Trait, of the Charcoal\Cms\TemplateableInterface.

Direct Known Users

Charcoal\Cms\AbstractEvent, Charcoal\Cms\AbstractNews, Charcoal\Cms\AbstractSection

Indirect Known Users

Charcoal\Cms\EmptySection, Charcoal\Cms\Event, Charcoal\Cms\ExternalSection, Charcoal\Cms\News, Charcoal\Cms\Section, Charcoal\Cms\Section\BlocksSection, Charcoal\Cms\Section\ContentSection
Namespace: Charcoal\Cms
Located at Charcoal/Cms/TemplateableTrait.php
Methods summary
public Charcoal\Cms\TemplateableTrait
# setTemplateIdent( mixed $template )

Set the renderable object's template identifier.

Set the renderable object's template identifier.

Parameters

$template
The template ID.

Returns

Charcoal\Cms\TemplateableTrait
public mixed
# templateIdent( )

Retrieve the renderable object's template identifier.

Retrieve the renderable object's template identifier.

Returns

mixed
public Charcoal\Cms\TemplateableTrait
# setControllerIdent( mixed $ident )

Set the renderable object's template controller identifier.

Set the renderable object's template controller identifier.

Parameters

$ident
The template controller identifier.

Returns

Charcoal\Cms\TemplateableTrait
public mixed
# controllerIdent( )

Retrieve the renderable object's template controller identifier.

Retrieve the renderable object's template controller identifier.

Returns

mixed
public Charcoal\Cms\TemplateableTrait
# setTemplateOptions( mixed $options )

Customize the template's options.

Customize the template's options.

Parameters

$options
Template options.

Returns

Charcoal\Cms\TemplateableTrait
public array
# templateOptions( )

Retrieve the template's customized options.

Retrieve the template's customized options.

Returns

array
API documentation generated by ApiGen