/** * Return common data used in form related to talks. * * @return array An array with common data. */ protected function getCommonData() { $data = array('locales' => LocaleService::getLocalesMap()); return $data; }
/** * Display settings page. * * @return Illuminate\View\View A view. */ public function showSettings() { $data = array('locales' => LocaleService::getLocalesMap()); return View::make('settings.index', $data); }
/** * Return common data used in form related to users. * * @return array An array with common data. */ protected function getCommonData() { $data = array('status' => UserService::getUserStatusMap(), 'roles' => UserService::getUserRolesMap(), 'locales' => LocaleService::getLocalesMap()); return $data; }