Overview

Namespaces

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

Classes

  • CmsConfig
  • EventConfig
  • NewsConfig
  • SectionConfig
  • Overview
  • Namespace
  • Class

Class SectionConfig

Section Config

Charcoal\Config\AbstractConfig
Extended by Charcoal\Cms\Config\SectionConfig
Namespace: Charcoal\Cms\Config
Located at Charcoal/Cms/Config/SectionConfig.php
Methods summary
public Charcoal\Cms\Config\SectionConfig
# setBaseSection( mixed $baseSection )

Base section ID. Used in section loader to retrieve sections relative to this specific section. (usually: home)

Base section ID. Used in section loader to retrieve sections relative to this specific section. (usually: home)

Parameters

$baseSection
Base section ID.

Returns

Charcoal\Cms\Config\SectionConfig
public
# setSectionTypes( mixed $sectionTypes )

Set the available section types

Set the available section types

Parameters

$sectionTypes
Section types.
public Charcoal\Cms\Config\SectionConfig
# setObjType( string $objType )

Parameters

$objType
Section object type.

Returns

Charcoal\Cms\Config\SectionConfig
public mixed
# baseSection( )

Returns

mixed
ID to base section.
public mixed
# sectionTypes( )

Available section types.

Available section types.

Returns

mixed
Section types. Could be null.
public string
# objType( )

Returns

string
Section object type.
API documentation generated by ApiGen