Documentation

AbstractModule extends AbstractApplication
in package
implements ModuleInterface

Abstract module class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2021 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
3.7.0

Interfaces, Classes and Traits

ModuleInterface
Pop router interface

Table of Contents

$application  : Application
Application
$config  : mixed
Application config
$name  : string
Module name
$version  : string
Module version
addConfigValue()  : AbstractApplication
Add new value to config
application()  : Application
Get application
config()  : mixed
Access application config
deleteConfigValue()  : AbstractApplication
Replace existing value in config
getName()  : string
Get module name
getVersion()  : string
Get module version
hasName()  : bool
Determine if module has name
hasVersion()  : bool
Determine if module has version
isRegistered()  : bool
Determine if the module has been registered with an application object
mergeConfig()  : AbstractApplication
Merge new or altered config values with the existing config values
register()  : AbstractModule
Register module
registerConfig()  : AbstractApplication
Register a new configuration with the application
setName()  : AbstractModule
Set module name
setVersion()  : AbstractModule
Set module version
updateConfigValue()  : AbstractApplication
Update existing value in config

Properties

Methods

getName()

Get module name

public getName() : string
Return values
string

getVersion()

Get module version

public getVersion() : string
Return values
string

hasName()

Determine if module has name

public hasName() : bool
Return values
bool

hasVersion()

Determine if module has version

public hasVersion() : bool
Return values
bool

isRegistered()

Determine if the module has been registered with an application object

public isRegistered() : bool
Return values
bool

Search results