XenForo
Administrative
- Thread starter
- Admin
- #1
Hi,
Just hoping to get some clarification as to using handlers. The following is seen in the alert abstract handler:
PHP:
Read more
ادامه مطلب...
Just hoping to get some clarification as to using handlers. The following is seen in the alert abstract handler:
PHP:
Code:
public function getTemplateName($action)
{
return 'public:alert_' . $this->contentType . '_' . $action;
}
public function getTemplateData($action, UserAlert $alert, Entity $content = null)
{
if (!$content)
{
$content = $alert->Content;
}
return [
'alert' => $alert,
'user' =>...
Read more
ادامه مطلب...