phpbb\notification\type\post::users_to_query PHP Method

users_to_query() public method

Users needed to query before this notification can be displayed
public users_to_query ( ) : array
return array Array of user_ids
    public function users_to_query()
    {
        $responders = $this->get_data('responders');
        $users = array($this->get_data('poster_id'));
        if (is_array($responders)) {
            foreach ($responders as $responder) {
                $users[] = $responder['poster_id'];
            }
        }
        return $this->trim_user_ary($users);
    }