added feature to update ajax data using hook
This commit is contained in:
@@ -649,8 +649,8 @@ abstract class ControllerCore
|
||||
$method = $bt[1]['function'];
|
||||
}
|
||||
|
||||
Hook::exec('actionBeforeAjaxDie', array('controller' => $controller, 'method' => $method, 'value' => $value));
|
||||
Hook::exec('actionBeforeAjaxDie'.$controller.$method, array('value' => $value));
|
||||
Hook::exec('actionBeforeAjaxDie', array('controller' => $controller, 'method' => $method, 'value' => &$value));
|
||||
Hook::exec('actionBeforeAjaxDie'.$controller.$method, array('value' => &$value));
|
||||
|
||||
die($value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user