method length2Width documentation in bbn\Appui\Database
function(int $length, $max = '30em')
{
if ($length > 32) {
return $max;
}
elseif ($length > 25) {
return '25em';
}
elseif ($length > 20) {
return '20em';
}
elseif ($length > 15) {
return '17em';
}
elseif ($length > 10) {
return '13em';
}
elseif ($length > 5) {
return '9em';
}
elseif ($length > 3) {
return '5em';
}
return '3em';
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions