MailbeezModuleCenterModule
extends AbstractModuleCenterModule
in package
Class MailbeezModuleCenterModule
Tags
Table of Contents
- LEGACY_PREFIX = 'gm_configuration/'
- $cacheControl : CacheControl
- $db : CI_DB_query_builder
- $description : string
- $isInstalled : null|bool
- $languageTextManager : LanguageTextManager
- $name : string
- $sortOrder : int
- $title : string
- __construct() : mixed
- getDescription() : string
- Returns the description of the module
- getName() : string
- Returns the name of the module
- getSortOrder() : float
- Returns the sort order of the module
- getTitle() : string
- Returns the title of the module
- install() : mixed
- Installs the module
- isInstalled() : bool
- Returns true, if the module is installed. Otherwise false is returned.
- isVisible() : bool
- Returns true, if the module should be displayed in module center.
- uninstall() : mixed
- Uninstalls the module
- _clearCache() : mixed
- Empty modules cache after module installation
- _init() : mixed
- Initialize the module e.g. set title, description, sort order etc.
- _setIsInstalled() : mixed
- Set isInstalled flag
- _setModuleName() : mixed
- Set module name
- _store() : mixed
Constants
LEGACY_PREFIX
private
mixed
LEGACY_PREFIX
= 'gm_configuration/'
Properties
$cacheControl
protected
CacheControl
$cacheControl
$db
protected
CI_DB_query_builder
$db
$description
protected
string
$description
= ''
$isInstalled
protected
null|bool
$isInstalled
=
ull
$languageTextManager
protected
LanguageTextManager
$languageTextManager
$name
protected
string
$name
= ''
$sortOrder
protected
int
$sortOrder
= 100000
$title
protected
string
$title
= ''
Methods
__construct()
public
__construct(LanguageTextManager $languageTextManager, CI_DB_query_builder $db, CacheControl $cacheControl) : mixed
Parameters
- $languageTextManager : LanguageTextManager
- $db : CI_DB_query_builder
- $cacheControl : CacheControl
Return values
mixed —getDescription()
Returns the description of the module
public
final getDescription() : string
Return values
string —getName()
Returns the name of the module
public
final getName() : string
The name is filtered by a regular expression. Only alphanumeric characters are allowed.
Return values
string —getSortOrder()
Returns the sort order of the module
public
final getSortOrder() : float
Return values
float —getTitle()
Returns the title of the module
public
final getTitle() : string
Return values
string —install()
Installs the module
public
install() : mixed
Return values
mixed —isInstalled()
Returns true, if the module is installed. Otherwise false is returned.
public
final isInstalled() : bool
Return values
bool —isVisible()
Returns true, if the module should be displayed in module center.
public
isVisible() : bool
Return values
bool —uninstall()
Uninstalls the module
public
uninstall() : mixed
Return values
mixed —_clearCache()
Empty modules cache after module installation
protected
final _clearCache() : mixed
Return values
mixed —_init()
Initialize the module e.g. set title, description, sort order etc.
protected
_init() : mixed
Function will be called in the constructor
Return values
mixed —_setIsInstalled()
Set isInstalled flag
protected
_setIsInstalled() : mixed
Return values
mixed —_setModuleName()
Set module name
protected
_setModuleName() : mixed
Return values
mixed —_store()
protected
final _store(mixed $installed) : mixed
Parameters
- $installed : mixed