/[drupal]/contributions/modules/dashboard/dashboard.module
ViewVC logotype

Diff of /contributions/modules/dashboard/dashboard.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.36, Thu Sep 10 06:39:56 2009 UTC revision 1.37, Fri Sep 11 06:05:56 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: dashboard.module,v 1.35 2009/09/04 11:19:46 drumm Exp $  // $Id: dashboard.module,v 1.36 2009/09/10 06:39:56 drumm Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 174  function dashboard_dashboard() { Line 174  function dashboard_dashboard() {
174  }  }
175    
176  /**  /**
  * Implement hook_dashboard_widget().  
  */  
 function dashboard_dashboard_widget() {  
   return array(  
     /*  
     array(  
       'path' => menu router path for add to dashboard link,  
       'name' => machine-readable name,  
       'title' => human-readable name,  
     ),  
     */  
   );  
 }  
   
 /**  
  * Sample implementatin of hook_dashboard_widget().  
  * DEPRACATED?  
  */  
 function dashboard_example_dashboard_widget($widget_id) {  
   return array(  
     'title' => 'Widget '. $widget_id,  
     'link' => 'http://example.com',  
     'content' => 'Hello world',  
   );  
 }  
   
 /**  
177   * Load information for a user dashboard.   * Load information for a user dashboard.
178   * This menu loader function is the default implementation   * This menu loader function is the default implementation
179   * of a Dashboard.   * of a Dashboard.

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.2