LettrModuleCenterModule

Extends \AbstractModuleCenterModule

Class LettrModuleCenterModule

extends

AbstractModuleCenterModule

category

System

package

Modules

Methods

__construct

__construct(\LanguageTextManager $languageTextManager, \CI_DB_query_builder $db, \CacheControl $cacheControl) 
inherited

Arguments

$languageTextManager

\LanguageTextManager

$db

\CI_DB_query_builder

$cacheControl

\CacheControl

Empty modules cache after module installation

_clearCache() 
inherited final

Initialize the module e.g. set title, description, sort order etc.

_init() 
inherited abstract

Function will be called in the constructor

Set isInstalled flag

_setIsInstalled() 
inherited

Set module name

_setModuleName() 
inherited

_store

_store( $installed) 
inherited final

Arguments

$installed

Returns the description of the module

getDescription() : string
inherited final

Response

string

Returns the name of the module

getName() : string
inherited final

The name is filtered by a regular expression. Only alphanumeric characters are allowed.

Response

string

Returns the sort order of the module

getSortOrder() : double
inherited final

Response

double

Returns the title of the module

getTitle() : string
inherited final

Response

string

Installs the module

install() 
inherited

Returns true, if the module is installed. Otherwise false is returned.

isInstalled() : boolean
inherited final

Response

boolean

Returns true, if the module should be displayed in module center.

isVisible() : boolean
inherited

Response

boolean

Uninstalls the module

uninstall() 
inherited

Properties

languageTextManager

languageTextManager : \LanguageTextManager
inherited
var

Type(s)

\LanguageTextManager

db

db : \CI_DB_query_builder
inherited
var

Type(s)

\CI_DB_query_builder

isInstalled

isInstalled : null|boolean
inherited
var

Type(s)

null|boolean

name

name : string
inherited
var

Type(s)

string

title

title : string
inherited
var

Type(s)

string

description

description : string
inherited
var

Type(s)

string

sortOrder

sortOrder : integer
inherited
var

Type(s)

integer

cacheControl

cacheControl : \CacheControl
inherited
var

Type(s)

\CacheControl