• PHP reference
  • Models
  • Community

Modules

class Models\Community\Modules

Class Modules.

Methods

__construct(Community $community)

Constructor.

Parameters

CommunityModule ensureInstalled(integer $module_id)

Install a module to the community, if it hasn't been installed yet.

Parameters

  • integer $module_id

Return Value

Exceptions

CommunityModule with(integer $module_id)

Get an instance of CommunityModule.

Parameters

  • integer $module_id

Return Value

Exceptions