/** * Returns the route id for the generic conversation route * @param int $channelId * @return int */ public function getChannelConversationRoute($channelId) { if (empty($channelId)) { return false; } $route = vB5_Route::getChannelConversationRouteInfo($channelId); if (empty($route)) { return false; } return $route['routeid']; }