Brimbox Logo Brimbox Version 2.3.4 Released


Method to build a id for usually for a HTML id or a filter based on the current layout and column, usually when looping.

Class: bb_main, called as $main

File: bb_main.php (php)


function make_html_id($row_type, $col_type = 0)


$main->make_html_id($row_type, $col_type);

Returns: an id string built from the $row_type, and optionally the $col_type.

Parameter: $row_type (integer)
The current row_type which usually is a variable.

Parameter: $col_type (optional integer)
The current col_type, usually a variable when looping.

Updated: 2016-07-11