.

DefaultDashboard Class Reference
[Usermanagement]

Default dashboard for all users. More...

Inheritance diagram for DefaultDashboard:
DashboardBase DashboardBase IDashboard IDashboard

List of all members.

Public Member Functions

  get_user_menu_entries ()
  Return array of entries for user menu.
  get_user_menu_entries ()
  Return array of entries for user menu.

Protected Member Functions

  get_template_file_name ()
  Return template file name for dashboard.
  get_template_file_name ()
  Return template file name for dashboard.

Detailed Description

Default dashboard for all users.

Author:
Gerd Riesselmann

Definition at line 8 of file default.dashboard.php.


Member Function Documentation

DefaultDashboard::get_template_file_name (  )  [protected]

Return template file name for dashboard.

Returns:
string

Reimplemented from DashboardBase.

Definition at line 14 of file default.dashboard.php.

00014                                                     {
00015                 return 'users/dashboards/default';
00016         }
DefaultDashboard::get_template_file_name (  )  [protected]

Return template file name for dashboard.

Returns:
string

Reimplemented from DashboardBase.

Definition at line 14 of file default.dashboard.php.

00014                                                     {
00015                 return 'users/dashboards/default';
00016         }
DefaultDashboard::get_user_menu_entries (  ) 

Return array of entries for user menu.

Reimplemented from DashboardBase.

Definition at line 21 of file default.dashboard.php.

00021                                                 {
00022                 $user = $this->get_user();
00023                 $li = array(
00024                         WidgetActionLink::output(tr('Edit your account', 'users'), 'edit_self', $user),
00025                         WidgetActionLink::output(tr('Notification Settings', 'notifications'), 'notifications_settings'),
00026                         WidgetActionLink::output(tr('Your Notifications', 'notifications'), 'users_notifications'),
00027                 );
00028                 return $li;
00029         }       
DefaultDashboard::get_user_menu_entries (  ) 

Return array of entries for user menu.

Reimplemented from DashboardBase.

Definition at line 21 of file default.dashboard.php.

00021                                                 {
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         }       

The documentation for this class was generated from the following files: