Can I use the <xen:callback> tag to fetch some changeable data if I pass two parameters (user id, node id)? Something like below. I may be using xen:array incorrectly.
params="{xen:array 'userId={$visitor.user_id}','forumId={$forum.node_id}'}"
params="{xen:array 'userId={$visitor.user_id}','forumId={$forum.node_id}'}"
PHP:
public static function getStatus($params)
{
$userId = $params['userId'];
$forumId = $params['forumId'];
// return something
}