Esempio n. 1
0
 /**
  * Return product info details
  *
  * @param  AUTO_LINK	Product id
  * @return tempcode	Product information
  */
 function product_info($id)
 {
     return render_catalogue_entry_screen($id, true);
 }
Esempio n. 2
0
 /**
  * The UI to show a catalogue entry.
  *
  * @return tempcode		The UI
  */
 function view_catalogue_entry()
 {
     $id = get_param_integer('id');
     return render_catalogue_entry_screen($id);
 }