Brimbox Logo Brimbox Version 2.3.4 Released

drill>>

Method intended to provide drill functionality links on the input tab.

Class: bb_links, called as $main

File: bb_links.php (php)

Declaration:

function drill($post_key, $row_type, $arr_layouts, $target_add, $text_add, $params = array())

Usage:

$main->drill($post_key, $row_type, $arr_layouts, $target_add, $text_add, $params)

Outputs: The links on the input tab for inputting and editing.

Note: Method drill is specifically designed for the standard input module.

Parameter: $row_type (integer)
Valid row_type from a data_table row.

Parameter: $post_key (integer)
Valid post_key (or id) from a data_table row.

Parameter: $arr_layouts (array)
Layouts stored as JSON retrieved as PHP array.

Parameter: $target_add (string)
Module name to be targeted during post, will be the next module loaded.

Parameter: $text_add (string)
Text to prepend the singular layout name of the child record or records in the “Add” link.

Parameter: $params (array)
An optional array containing parameters to include when calling the function.

  • button, button number to be submitted in bb_submit_form(), (integer, default 0).

Updated: 2016-07-09