UNA
Loading...
Searching...
No Matches
BxDolModule Class Reference
Inheritance diagram for BxDolModule:
BxDol BxAclModule BxAnalyticsModule BxAnonFollowModule BxAntispamModule BxApiModule BxAttendantModule BxBaseModGeneralModule BxChartsModule BxChatPlusModule BxContactModule BxDataFoxModule BxDevModule BxEditorModule BxFontAwesomeModule BxFroalaModule BxGoogleTagManModule BxHelpToursModule BxIntercomModule BxInvModule BxMailchimpModule BxMapShowModule BxMarkerIoModule BxNewCommentsModule BxNexusModule BxOAuthModule BxOpencvModule BxPlyrModule BxProfilerModule BxQuoteOfDayModule BxSMTPModule BxWikiModule BxXeroModule

Public Member Functions

 __construct ($aModule)
 
 isEnabled ()
 
 getName ()
 
 isLogged ()
 
 getUserId ()
 
 getUserPassword ()
 
 serviceIsSafeService ($s)
 
 serviceGetSafeServices ()
 
 serviceIsPublicService ($s)
 
 serviceGetPublicServices ()
 

Static Public Member Functions

static getInstance ($sName)
 
static getTitle ($sUri)
 
static getTitleKey ($sUri)
 

Public Attributes

 $_aModule
 
 $_oDb
 
 $_oTemplate
 
 $_oConfig
 

Detailed Description

Base class for Module classes in modules engine.

The object of the class contains major objects of the whole module. They are: a. An object of config class

See also
BxDolModuleConfig

b. An object of database class.

See also
BxDolModuleQuery

c. An object of template class.

See also
BxDolTemplate

Example of usage: refer to any BoonEx module

Static Methods:

Get an instance of a module's class.

See also
BxDolModule\getInstance($sClassName)

Memberships/ACL: Doesn't depend on user's membership.

Alerts: no alerts available

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ getInstance()

static BxDolModule::getInstance ( $sName)
static

Static method to get an instance of a module's class.

Parameters
$sNamemodule name.

◆ getName()

BxDolModule::getName ( )

get module name

◆ getUserId()

BxDolModule::getUserId ( )

Get currently logged in user ID.

Returns
integer user ID.

Reimplemented in BxAclModule, BxBaseModGeneralModule, and BxContactModule.

◆ getUserPassword()

BxDolModule::getUserPassword ( )

Get currently logged in user password.

Returns
string user password.

◆ isEnabled()

BxDolModule::isEnabled ( )

is module enabled

◆ isLogged()

BxDolModule::isLogged ( )

Check whether user logged in or not.

Returns
boolean result of operation.

◆ serviceGetSafeServices()

BxDolModule::serviceGetSafeServices ( )

The documentation for this class was generated from the following file: