Method that returns padded variables which are used in Brimbox in various scenarios.
Class: bb_main, called as $main
File: bb_main.php (php)
function pad($char, $number, $padlen = 2)
$column = $main->pad($char, $number);
Returns: character concatenated with integer left padded to pad length.
$char (string, 1 character long)
Character that starts the output string, for instance “c” for columns.
Integer to be padded.
$padlen (option integer)
Full length of padded number.
$column = $main->pad(“c”, 7)
$column equals “c07”