• PHP reference
  • Models
  • Community

CommunityModule

class Models\Community\CommunityModule

Class CommunityModule.

Methods

__construct(Module $module, Community $community)

CommunityModule constructor.

Parameters

array settings()

Get module settings for this community.

Return Value

  • array

boolean|null|string getSetting(string $key)

Get or set a module setting for this community.

Parameters

  • string $key

Return Value

  • boolean|null|string

boolean setSetting(string $key, mixed $value)

Set a module setting for this community.

Parameters

  • string $key
  • mixed $value

Return Value

  • boolean