contributions/usermanagement/controller/tools/dashboards/default.dashboard.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Default dashboard for all users 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Usermanagement 00007 */ 00008 class DefaultDashboard extends DashboardBase { 00009 /** 00010 * Return template file name for dashboard 00011 * 00012 * @return string 00013 */ 00014 protected function get_template_file_name() { 00015 return 'users/dashboards/default'; 00016 } 00017 00018 /** 00019 * Return array of entries for user menu 00020 */ 00021 public function get_user_menu_entries() { 00022 $user = $this->get_user(); 00023 $li = array(); 00024 $li[] = html::a( 00025 tr('Edit your account', 'users'), 00026 ActionMapper::get_url('edit_self', $user), 00027 '' 00028 ); 00029 return $li; 00030 } 00031 00032 }