PHP Class Redaxscript\Module

Since: 2.2.0
Author: Henry Ruhs
Afficher le fichier Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Свойство Type Description
$_moduleArray array array of the module
$_notificationArray array array of the notification

Méthodes publiques

Méthode Description
getNotification ( string $type = null ) : mixed get message from notification
init ( array $moduleArray = [] ) init the class
install ( ) install the module
setNotification ( string $type = null, mixed $message = null ) set message to notification
uninstall ( ) uninstall the module

Method Details

getNotification() public méthode

get message from notification
Since: 3.0.0
public getNotification ( string $type = null ) : mixed
$type string type of the notification
Résultat mixed

init() public méthode

init the class
Since: 2.4.0
public init ( array $moduleArray = [] )
$moduleArray array custom module setup

install() public méthode

install the module
Since: 2.6.0
public install ( )

setNotification() public méthode

set message to notification
Since: 3.0.0
public setNotification ( string $type = null, mixed $message = null )
$type string type of the notification
$message mixed message of the notification

uninstall() public méthode

uninstall the module
Since: 2.6.0
public uninstall ( )

Property Details

$_moduleArray protected_oe static_oe property

array of the module
protected static array $_moduleArray
Résultat array

$_notificationArray protected_oe static_oe property

array of the notification
protected static array $_notificationArray
Résultat array