Brimbox Logo Brimbox Version 2.3.4 Released

drill_links>>

Method to output child and sibling links for quick inputting of related records on the standard Input tab.

Class: bb_main, called as $main

File: bb_main.php (php)

Declaration:

function drill_links($post_key, $row_type, $arr_layouts, $module, $text)

Usage:

$main->drill_links($post_key, $row_type, $arr_layouts, $module, $text);

Outputs: Drill and Information links when inputted data.

Note: This is a method designed for the standard input tab.

Parameter: $post_key (integer)
Id or $post_key of the record for which to output child and sibling add record links.

Parameter: $row_type (integer)
Row type of the record for which to find and output child and sibling add record links.

Parameter: $arr_layouts (array)
PHP layouts array, used mainly to find child and sibling relationships.

Parameter: $module (string)
The target module, usually bb_input as this function was built to output child drill links for the standard input module.

Parameter: $tect (string)
The text to prepend to the singular child record, usually “Add”.

Updated: 2016-07-17