public function getStatusesAjax() { $statuses = Channels::getLiveStatuses(); return json_encode($statuses); }