UNA
Loading...
Searching...
No Matches
BxDolModuleProxy Class Reference

Public Member Functions

 __construct ($sObjectType, $oProxifiedObject)
 __call ($sMethodName, $aArguments)
 getClassName ()
 isMethodExists ($s)
 getData (&$aEvent, $aBrowseParams=array())
 getPost (&$aEvent, $aBrowseParams=array())
 getNotificationEmail ($iRecipient, &$aEvent)
 getNotificationPush ($iRecipient, &$aEvent)

Detailed Description

Proxy class for module classes, now only module template class is proxied. It's possible to override any module template method call by making a response for 'module_template_method_call' alert.

Member Function Documentation

◆ __call()

BxDolModuleProxy::__call ( $sMethodName,
$aArguments )

Hooks:

'module_template_method_call', '{method_name}' - hook to override a method from template class in a module

  • $unit_name - equals module_template_method_call
  • $action - method name
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:
    • module - [object] an instance of a module,
      See also
      BxDolModule
    • args - [array] by ref, array with method call arguments, can be overridden in hook processing
    • override_result - [mixed] by ref, method call response, if equals to 'null', the default method will be called, can be overridden in hook processing
HOOKS
'module_template_method_call', '{method_name}' - hook to override a method from template class in a module

◆ getData()

BxDolModuleProxy::getData ( & $aEvent,
$aBrowseParams = array() )

Dirty fix for pass by reference to BxTimelineTemplate::getData

◆ getNotificationEmail()

BxDolModuleProxy::getNotificationEmail ( $iRecipient,
& $aEvent )

Dirty fix for pass by reference to BxNtfsTemplate::getNotificationEmail

◆ getNotificationPush()

BxDolModuleProxy::getNotificationPush ( $iRecipient,
& $aEvent )

Dirty fix for pass by reference to BxNtfsTemplate::getNotificationPush

◆ getPost()

BxDolModuleProxy::getPost ( & $aEvent,
$aBrowseParams = array() )

Dirty fix for pass by reference to BxNtfsTemplate\getPost


The documentation for this class was generated from the following file:
  • inc/classes/BxDolModuleProxy.php