Ejemplo n.º 1
0
 /**
  * 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;
 }
Ejemplo n.º 2
0
 /**
  * Display settings page.
  *
  * @return Illuminate\View\View A view.
  */
 public function showSettings()
 {
     $data = array('locales' => LocaleService::getLocalesMap());
     return View::make('settings.index', $data);
 }
Ejemplo n.º 3
0
 /**
  * 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;
 }