Brimbox Logo Brimbox Version 2.3.4 Released

output_links>>

Method to call link methods which output record links with javascript onClick event handlers for the standard interface.

Class: bb_main, called as $main

File: bb_main.php (php)

Declaration:

function output_links($row, $arr_layouts, $userrole)

Usage:

$main->output_links($row, $arr_layouts, $userrole);

global $array_links;

Outputs: The action links along the bottom of a record.

Note: This Method uses $array_links and is native to the standard interface. Interfaces using different usertypes than the standard interface will need an alternative to this function.

Parameter: $row (database $resultset row)
Valid database row from the data_table.

Parameter: $arr_layouts (SimpleXML Object)
PHP layouts array, used mainly to find child or parent relationships.

Parameter: $userrole (integer)
The permission level or usertype of the current user.

Updated: 2016-06-16