PHP Класс Redaxscript\Module

С версии: 2.2.0
Автор: Henry Ruhs
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_moduleArray array array of the module
$_notificationArray array array of the notification

Открытые методы

Метод Описание
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

Описание методов

getNotification() публичный метод

get message from notification
С версии: 3.0.0
public getNotification ( string $type = null ) : mixed
$type string type of the notification
Результат mixed

init() публичный метод

init the class
С версии: 2.4.0
public init ( array $moduleArray = [] )
$moduleArray array custom module setup

install() публичный метод

install the module
С версии: 2.6.0
public install ( )

setNotification() публичный метод

set message to notification
С версии: 3.0.0
public setNotification ( string $type = null, mixed $message = null )
$type string type of the notification
$message mixed message of the notification

uninstall() публичный метод

uninstall the module
С версии: 2.6.0
public uninstall ( )

Описание свойств

$_moduleArray защищенное статическое свойство

array of the module
protected static array $_moduleArray
Результат array

$_notificationArray защищенное статическое свойство

array of the notification
protected static array $_notificationArray
Результат array