abstract |
---|
Methods | ||
---|---|---|
public
|
__construct($sPath, string $sVersion = '1.0')
|
# |
abstract
public
|
init(): void
|
# |
public
static
|
createInstance(string $sPath, string $sVersion = '1.0'): AbstractModule
|
# |
public
static
|
getInstance(): AbstractModule
|
# |
public
static
|
Decorator(): Decorator
|
# |
public
|
__invoke(): Decorator
|
# |
public
static
|
__callStatic($name, $arguments)
|
# |
public
|
RequireModule(string $sModule)
|
# |
public
|
GetRequireModules(): array
|
# |
public
|
isPermanent(): boolean
|
# |
public
|
isValid(): boolean
|
# |
public
|
initialize(): boolean
|
# |
final
public
static
|
getNamespace(): string
|
# |
public
|
loadModuleSettings(): Settings
|
# |
public
|
saveModuleConfig()
|
# |
public
|
getConfig(string $sName, mixed $mDefaultValue = null): mixed
|
# |
public
|
setConfig(string $sName, string $sValue = null): boolean
|
# |
public
|
denyMethodsCallByWebApi(array $aMethods)
|
# |
public
|
denyMethodCallByWebApi(string $sMethodName)
|
# |
public
|
subscribeEvent(string $sEvent, callback $fCallback, int $iPriority = 100)
|
# |
public
|
broadcastEvent(string $sEvent, array &$aArguments = [], &$mResult = null)
|
# |
public
|
skipEvent(string $sEvent)
|
# |
public
|
removeEventFromSkiped(string $sEvent)
|
# |
public
|
includeTemplate(string $sParsedTemplateID, string $sParsedPlace, string $sTemplateFileName, string $sModuleName = '')
|
# |
public
|
extendObject(string $sType, array $aMap)
|
# |
public
|
getExtendedObject(string $sType): array
|
# |
public
|
issetObject(string $sType): boolean
|
# |
final
public
|
SetPath(string $sPath)
|
# |
final
public
|
GetHash(): string
|
# |
final
public
static
|
GetName(): string
|
# |
final
public
|
GetPath(): string
|
# |
public
|
GetVersion(): string
|
# |
final
public
|
GetFullName(): string
|
# |
final
public
|
AddEntry(string $sName, callback $mCallbak)
|
# |
final
public
|
AddEntries(array $aEntries)
|
# |
final
public
|
HasEntry(string $sName): boolean
|
# |
final
public
|
RemoveEntry(string $sName)
|
# |
final
public
|
RemoveEntries(array $aEntries)
|
# |
final
public
|
GetEntryCallback(stranig $sName): mixed
|
# |
final
public
|
DefaultResponse(string $sMethod, mixed $mResult = false): array
|
# |
final
public
|
TrueResponse(string $sMethod): array
|
# |
final
public
|
FalseResponse(
string $sMethod,
int $iErrorCode = null,
string $sErrorMessage = null,
array $aAdditionalParams = null,
$sModule = null,
): array
|
# |
final
public
|
ExceptionResponse(string $sActionName, Exception $oException, array $aAdditionalParams = null): array
|
# |
final
public
|
CallMethod(string $sMethod, array $aArguments = [], boolean $bWebApi = false): mixed
|
# |
public
|
GetSettings(): array
|
# |
public
|
i18N(string $sData, array $aParams = null, int $iPluralCount = null, string $sUUID = null): string
|
# |
public
|
GetErrors(): array
|
# |
public
|
GetErrorMessageByCode($iErrorCode): string
|
# |
public
|
GetAdditionalEntityFieldsToEdit(): array
|
# |
Properties | |||
---|---|---|---|
public
|
Http
|
$oHttp
|
# |
public
static
|
string
|
$Delimiter = '::'
|
# |
public
|
array
|
$aErrors = []
|
# |
public
|
array
|
$aAdditionalEntityFieldsToEdit = []
|
# |