\Charcoal\Cms\Support\TraitsSocialNetworksAwareTrait

Summary

Methods
Properties
Constants
hasSocialNetworks()
socialNetworks()
cmsConfig()
configModel()
No public properties found
No constants found
No protected methods found
$socialNetworks
N/A
No private methods found
No private properties found
N/A

Properties

$socialNetworks

$socialNetworks : array|null

The websites's social presence.

Type

array|null

Methods

hasSocialNetworks()

hasSocialNetworks() : integer|boolean

Determine if the website has a social presence.

Returns

integer|boolean

socialNetworks()

socialNetworks() : array

Retrieve the websites's social presence.

Throws

\Exception

If the given context does not have access to config.

Returns

array

configModel()

configModel() : \Charcoal\Model\ModelInterface

Returns

\Charcoal\Model\ModelInterface