How to set up summary information for any menu item
Any menu item can have two pieces of summary information: a short abbreviated string on the menu bar and expanded summary information that would be put in the summary tab. Both are handled with the same functionality, so it will be rare if one should appear without the other.
The "menus" datatable has a new field called "use_summary", a VARCHAR(255) field. It should either be blank, in which case that menu item will have no summary, or it will have a string in the following format...
Plugin.Model::Method
...where "Plugin" is the CakePHP plugin name, "Model" is CakePHP model name (not the datatable name), and "Method" is a function within the specified model object. If no method is specified, the application will assume the method's name is "summary".
That menu item's "use_summary" field is only used as part of the main breadcrumb trail of the menu bar. It is not used when the menu item appears in any menu pull-down.
Regardless of the name of the function, the menu component will only get passed one variable (the same array of keys->values used to generate the menu items), and always expects the following array of data back...
array( 'menu' => array( NULL, 'text to display in menu bar' ), 'title' => array( NULL, 'same text but to display as title in summary tab' ), 'data' => $data_array 'structure alias' => 'structure_name' );
The menu string is used in the menu bar, the title, data and structure alias are used in the summary tab. structure alias should be an existing structure alias where flag_summary are defined and data should be the data array that will populate the structure.