Method to loop through all the joined layouts of a layout creating "View Joins" links for all join possibilities of a given record.
Class: bb_links, called as $main
File: bb_links.php (php)
function joinlinks($row, $arr_layouts, $target, $text, $params = array())
$main->joinlinks($row, $arr_layouts, $target, $text, $params);
Outputs: Loops through all joined layouts of the submitted
$row (and therefore row_type) outputting “View” links for the joined layouts.
Note: Link functions must have the first parameter be
$row and the second parameter be
$row (array, database row)
Valid database row from the data_table.
Layouts stored as JSON retrieved as PHP array.
Module name to be targeted during post, will be the next module loaded.
Text to prepend the plural layout name of the child record or records in the “View” link.
An optional array containing parameters to include when calling the function.
button, button number to be submitted in
integer, default 0).
check, if set checks that the layout security is not greater than zero
class, the class of the button outputted, default is a link (
string, default "link rightmargin")