\Charcoal\Cms\ConfigSectionConfig

Section Config

Summary

Methods
Properties
Constants
setBaseSection()
setSectionTypes()
setObjType()
baseSection()
sectionTypes()
objType()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$baseSection
$sectionTypes
$objType
N/A

Properties

$baseSection

$baseSection : mixed

Type

mixed

$sectionTypes

$sectionTypes : mixed

Different section type available They should be extending the baseSection

Type

mixed

$objType

$objType : string

Type

string

Methods

setBaseSection()

setBaseSection(mixed  $baseSection) : \Charcoal\Cms\Config\SectionConfig

Base section ID.

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

Parameters

mixed $baseSection

Base section ID.

Returns

\Charcoal\Cms\Config\SectionConfig

setSectionTypes()

setSectionTypes(mixed  $sectionTypes) 

Set the available section types

Parameters

mixed $sectionTypes

Section types.

setObjType()

setObjType(string  $objType) : \Charcoal\Cms\Config\SectionConfig

Parameters

string $objType

Section object type.

Returns

\Charcoal\Cms\Config\SectionConfig

baseSection()

baseSection() : mixed

Returns

mixed —

ID to base section.

sectionTypes()

sectionTypes() : mixed

Available section types.

Returns

mixed —

Section types. Could be null.

objType()

objType() : string

Returns

string —

Section object type.