/** * Return product info details * * @param AUTO_LINK Product id * @return tempcode Product information */ function product_info($id) { return render_catalogue_entry_screen($id, true); }
/** * 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); }