• API
  • -
  • Redaxscript\Module

Hook

  • Namespace: Redaxscript\Module
  • Description: parent class to handle module hooks
  • Package: Redaxscript
  • Category: Module
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_registry\Redaxscript\Registryprotectedinstance of the registry class
$_request\Redaxscript\Requestprotectedinstance of the request class
$_language\Redaxscript\Languageprotectedinstance of the language class
$_config\Redaxscript\Configprotectedinstance of the config class
$_namespacestringprotectedmodule namespace
$_moduleArrayarrayprotectedarray of installed and enabled modules
$_eventArrayarrayprotectedarray of triggered events
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
constructpublicconstructor of the class
initpublicinit the class
getModuleArraypublicget the module array
getEventArraypublicget the event array
collectpubliccollect from module hook
triggerpublictrigger the module hook
MethodVisibilityDescription

Module

  • Namespace: Redaxscript\Module
  • Description: parent class to create a module
  • Package: Redaxscript
  • Category: Module
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_registry\Redaxscript\Registryprotectedinstance of the registry class
$_request\Redaxscript\Requestprotectedinstance of the request class
$_language\Redaxscript\Languageprotectedinstance of the language class
$_config\Redaxscript\Configprotectedinstance of the config class
$_moduleArrayarrayprotectedarray of the module
$_notificationArrayarrayprotectedarray of the notification
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
__constructpublicconstructor of the class
initpublicinit the class
getNotificationpublicget message from notification
setNotificationpublicset message to notification
installpublicinstall the module
uninstallpublicuninstall the module
MethodVisibilityDescription