SmartUI Alerts

HTML Output (Run Time: 0.0001s)

<div class="progress left progress-md " >
    <div class="progress-bar progress-bar-info " style="width: 33%"></div>
</div>
<div class="progress left progress-micro " >
    <div class="progress-bar bg-color-greenLight" style="width: 60%"></div>
</div>
<div class="progress left progress-striped progress-sm " >
    <div class="progress-bar bg-color-redLight" style="width: 20%"></div>
</div>
<div class="progress right progress-striped active progress-md " rel="tooltip" data-original-title="This is tooltip" data-placement="top" >
    <div class="progress-bar progress-bar-danger" style="width: 55.5%"></div>
</div>
<div class="progress left progress-md " >
    <div class="progress-bar progress-bar-success" aria-valuetransitiongoal="21"></div>
</div>
<div class="progress vertical left progress-md " >
    <div class="progress-bar progress-bar-primary" aria-valuetransitiongoal="80"></div>
</div>
<div class="progress vertical bottom progress-md " >
    <div class="progress-bar bg-color-redLight" aria-valuetransitiongoal="80"></div>
</div>
<div class="progress left progress-striped active progress-sm" rel="tooltip" data-original-title="Stacked Progress" data-placement="top">
    <div class="progress-bar bg-color-redLight" style="width: 80%"></div>
    <div class="progress-bar progress-bar-info" style="width: 55%"></div>
    <div class="progress-bar progress-bar-success" style="width: 33%"></div>
</div>

( ! ) Warning: Uninitialized string offset 0 in /var/www/html/lib/class.parsedown.php on line 1023
Call Stack
#TimeMemoryFunctionLocation
10.0000378344{main}( ).../smartui-progress.php:0
20.0008423992Parsedown->parse( $text = '# SmartUI::print_progress\r\nPrint a single Progress Bar. You can see full HTML documentation [here](general-elements.php)\r\n```php\r\nSmartUI::print_progress($value [, $type = \'\', $options = array(), $return = false]);\r\n```\r\n\r\n## Usage\r\n```php\r\nSmartUI::print_progress(55, \'success\');\r\n```\r\n\r\n## $type\r\n```info```, ```success```, ```danger```, ```warning```\r\n\r\n## $options\r\nOptions available to configure your progress bar\r\n```php\r\n$options_map = array(\r\n \'transitional\' => false,\r\n \'class\' => array(),\r\n \'a'... ).../smartui-progress.php:98
30.0008433504Parsedown->findBlocks( $lines = [0 => '# SmartUI::print_progress', 1 => 'Print a single Progress Bar. You can see full HTML documentation [here](general-elements.php)', 2 => '```php', 3 => 'SmartUI::print_progress($value [, $type = \'\', $options = array(), $return = false]);', 4 => '```', 5 => '', 6 => '## Usage', 7 => '```php', 8 => 'SmartUI::print_progress(55, \'success\');', 9 => '```', 10 => '', 11 => '## $type', 12 => '```info```, ```success```, ```danger```, ```warning```', 13 => '', 14 => '## $options', 15 => 'Options available to configure your progress bar', 16 => '```php', 17 => '$options_map = array(', 18 => ' \'transitional\' => false,', 19 => ' \'class\' => array(),', 20 => ' \'attr\' => array(),', 21 => ' \'background\' => \'\',', 22 => ' \'tooltip\' => array(),', 23 => ' \'position\' => \'left\', // left, right, bottom (for vertical)', 24 => ' \'wide\' => false,', 25 => ' \'size\' => \'md\', // sm, xs, md, xl, micro', 26 => ' \'striped\' => false, // true or \'active\'', 27 => ' \'vertical\' => false', 28 => ');', 29 => '```', 30 => '', 31 => '### $options[background]', 32 => '```redLight```, ```greenLight```, etc. Check out ```bg-color-*``` [here](typography.php)', 33 => '', 34 => '### $options[striped]', 35 => 'A ```boolean``` or the ```string``` "active" (will set to active stripped progress bar)', 36 => '```', 37 => '$options = array(\'striped\' => \'active\');', 38 => '```', 39 => '', 40 => '***', 41 => '', 42 => '# SmartUI::print_stack_progress', 43 => 'Print a stacked Progress Bar. You can see full HTML documentation [here](general-elements.php)', 44 => '```php', 45 => 'SmartUI::print_stack_progress($progress_bars [, $base_options = array(), $return = false])', 46 => '```', 47 => '', 48 => '## Usage', 49 => '```php', 50 => '$progress_bars = array();', 51 => '$progress_bars[] = SmartUI::get_progress(80, \'\', array(\'background\' => \'redLight\'));', 52 => '$progress_bars[] = SmartUI::get_progress(55, \'info\');', 53 => '$progress_bars[] = SmartUI::get_progress(33, \'success\');', 54 => 'SmartUI::print_stack_progress($progress_bars, array(\'size\' => \'sm\', \'tooltip\' => \'Stacked Progress\'), true);', 55 => '```', 56 => '', 57 => '## $progress_bars', 58 => 'An ```array``` of progress bar HTML. You can get a progress bar HTML suing ```SmartUI::get_progress($value [, $type = \'\', $options = array()])``` function', 59 => '```', 60 => '// initiate an array for progress bars', 61 => '$progress_bars = array(); ', 62 => '', 63 => '// get progress bar #1', 64 => '$progress_bar = SmartUI::get_progress(80, \'\', array(\'background\' => \'redLight\'));', 65 => '// and so on ...', 66 => '```', 67 => '', 68 => '## $base_options', 69 => 'Available options for the progress bar parent', 70 => '```php', 71 => '$options_map = array(', 72 => ' \'tooltip\' => array(),', 73 => ' \'position\' => \'left\', // left, right, bottom (for vertical)', 74 => ' \'wide\' => false,', 75 => ' \'size\' => \'md\', // sm, xs, md, xl, micro', 76 => ' \'striped\' => false, // true or \'active\'', 77 => ' \'vertical\' => false', 78 => ');', 79 => '```'], $blockContext = ??? ).../class.parsedown.php:73
40.0009442248Parsedown->parseLine( $text = '$options[background]', $markers = ??? ).../class.parsedown.php:534

( ! ) Warning: Uninitialized string offset 0 in /var/www/html/lib/class.parsedown.php on line 1023
Call Stack
#TimeMemoryFunctionLocation
10.0000378344{main}( ).../smartui-progress.php:0
20.0008423992Parsedown->parse( $text = '# SmartUI::print_progress\r\nPrint a single Progress Bar. You can see full HTML documentation [here](general-elements.php)\r\n```php\r\nSmartUI::print_progress($value [, $type = \'\', $options = array(), $return = false]);\r\n```\r\n\r\n## Usage\r\n```php\r\nSmartUI::print_progress(55, \'success\');\r\n```\r\n\r\n## $type\r\n```info```, ```success```, ```danger```, ```warning```\r\n\r\n## $options\r\nOptions available to configure your progress bar\r\n```php\r\n$options_map = array(\r\n \'transitional\' => false,\r\n \'class\' => array(),\r\n \'a'... ).../smartui-progress.php:98
30.0008433504Parsedown->findBlocks( $lines = [0 => '# SmartUI::print_progress', 1 => 'Print a single Progress Bar. You can see full HTML documentation [here](general-elements.php)', 2 => '```php', 3 => 'SmartUI::print_progress($value [, $type = \'\', $options = array(), $return = false]);', 4 => '```', 5 => '', 6 => '## Usage', 7 => '```php', 8 => 'SmartUI::print_progress(55, \'success\');', 9 => '```', 10 => '', 11 => '## $type', 12 => '```info```, ```success```, ```danger```, ```warning```', 13 => '', 14 => '## $options', 15 => 'Options available to configure your progress bar', 16 => '```php', 17 => '$options_map = array(', 18 => ' \'transitional\' => false,', 19 => ' \'class\' => array(),', 20 => ' \'attr\' => array(),', 21 => ' \'background\' => \'\',', 22 => ' \'tooltip\' => array(),', 23 => ' \'position\' => \'left\', // left, right, bottom (for vertical)', 24 => ' \'wide\' => false,', 25 => ' \'size\' => \'md\', // sm, xs, md, xl, micro', 26 => ' \'striped\' => false, // true or \'active\'', 27 => ' \'vertical\' => false', 28 => ');', 29 => '```', 30 => '', 31 => '### $options[background]', 32 => '```redLight```, ```greenLight```, etc. Check out ```bg-color-*``` [here](typography.php)', 33 => '', 34 => '### $options[striped]', 35 => 'A ```boolean``` or the ```string``` "active" (will set to active stripped progress bar)', 36 => '```', 37 => '$options = array(\'striped\' => \'active\');', 38 => '```', 39 => '', 40 => '***', 41 => '', 42 => '# SmartUI::print_stack_progress', 43 => 'Print a stacked Progress Bar. You can see full HTML documentation [here](general-elements.php)', 44 => '```php', 45 => 'SmartUI::print_stack_progress($progress_bars [, $base_options = array(), $return = false])', 46 => '```', 47 => '', 48 => '## Usage', 49 => '```php', 50 => '$progress_bars = array();', 51 => '$progress_bars[] = SmartUI::get_progress(80, \'\', array(\'background\' => \'redLight\'));', 52 => '$progress_bars[] = SmartUI::get_progress(55, \'info\');', 53 => '$progress_bars[] = SmartUI::get_progress(33, \'success\');', 54 => 'SmartUI::print_stack_progress($progress_bars, array(\'size\' => \'sm\', \'tooltip\' => \'Stacked Progress\'), true);', 55 => '```', 56 => '', 57 => '## $progress_bars', 58 => 'An ```array``` of progress bar HTML. You can get a progress bar HTML suing ```SmartUI::get_progress($value [, $type = \'\', $options = array()])``` function', 59 => '```', 60 => '// initiate an array for progress bars', 61 => '$progress_bars = array(); ', 62 => '', 63 => '// get progress bar #1', 64 => '$progress_bar = SmartUI::get_progress(80, \'\', array(\'background\' => \'redLight\'));', 65 => '// and so on ...', 66 => '```', 67 => '', 68 => '## $base_options', 69 => 'Available options for the progress bar parent', 70 => '```php', 71 => '$options_map = array(', 72 => ' \'tooltip\' => array(),', 73 => ' \'position\' => \'left\', // left, right, bottom (for vertical)', 74 => ' \'wide\' => false,', 75 => ' \'size\' => \'md\', // sm, xs, md, xl, micro', 76 => ' \'striped\' => false, // true or \'active\'', 77 => ' \'vertical\' => false', 78 => ');', 79 => '```'], $blockContext = ??? ).../class.parsedown.php:73
40.0012451880Parsedown->parseLine( $text = '$options[striped]', $markers = ??? ).../class.parsedown.php:534

( ! ) Warning: Uninitialized string offset 0 in /var/www/html/lib/class.parsedown.php on line 1023
Call Stack
#TimeMemoryFunctionLocation
10.0000378344{main}( ).../smartui-progress.php:0
20.0008423992Parsedown->parse( $text = '# SmartUI::print_progress\r\nPrint a single Progress Bar. You can see full HTML documentation [here](general-elements.php)\r\n```php\r\nSmartUI::print_progress($value [, $type = \'\', $options = array(), $return = false]);\r\n```\r\n\r\n## Usage\r\n```php\r\nSmartUI::print_progress(55, \'success\');\r\n```\r\n\r\n## $type\r\n```info```, ```success```, ```danger```, ```warning```\r\n\r\n## $options\r\nOptions available to configure your progress bar\r\n```php\r\n$options_map = array(\r\n \'transitional\' => false,\r\n \'class\' => array(),\r\n \'a'... ).../smartui-progress.php:98
30.0015463224Parsedown->compile( $blocks = [1 => ['name' => 'h1', 'content type' => 'line', 'content' => 'SmartUI::print_progress'], 2 => ['name' => 'p', 'content type' => 'line', 'content' => 'Print a single Progress Bar. You can see full HTML documentation [here](general-elements.php)'], 3 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 4 => ['name' => 'h2', 'content type' => 'line', 'content' => 'Usage'], 5 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 6 => ['name' => 'h2', 'content type' => 'line', 'content' => '$type'], 7 => ['name' => 'p', 'content type' => 'line', 'content' => '```info```, ```success```, ```danger```, ```warning```'], 8 => ['name' => 'h2', 'content type' => 'line', 'content' => '$options'], 9 => ['name' => 'p', 'content type' => 'line', 'content' => 'Options available to configure your progress bar'], 10 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 11 => ['name' => 'h3', 'content type' => 'line', 'content' => '$options[background]'], 12 => ['name' => 'p', 'content type' => 'line', 'content' => '```redLight```, ```greenLight```, etc. Check out ```bg-color-*``` [here](typography.php)'], 13 => ['name' => 'h3', 'content type' => 'line', 'content' => '$options[striped]'], 14 => ['name' => 'p', 'content type' => 'line', 'content' => 'A ```boolean``` or the ```string``` "active" (will set to active stripped progress bar)'], 15 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 16 => ['name' => 'hr', 'content' => NULL], 17 => ['name' => 'h1', 'content type' => 'line', 'content' => 'SmartUI::print_stack_progress'], 18 => ['name' => 'p', 'content type' => 'line', 'content' => 'Print a stacked Progress Bar. You can see full HTML documentation [here](general-elements.php)'], 19 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 20 => ['name' => 'h2', 'content type' => 'line', 'content' => 'Usage'], 21 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 22 => ['name' => 'h2', 'content type' => 'line', 'content' => '$progress_bars'], 23 => ['name' => 'p', 'content type' => 'line', 'content' => 'An ```array``` of progress bar HTML. You can get a progress bar HTML suing ```SmartUI::get_progress($value [, $type = \'\', $options = array()])``` function'], 24 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 25 => ['name' => 'h2', 'content type' => 'line', 'content' => '$base_options'], 26 => ['name' => 'p', 'content type' => 'line', 'content' => 'Available options for the progress bar parent'], 27 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]]] ).../class.parsedown.php:76
40.0016464248Parsedown->parseLine( $text = '$options[background]', $markers = ??? ).../class.parsedown.php:900

( ! ) Warning: Uninitialized string offset 0 in /var/www/html/lib/class.parsedown.php on line 1023
Call Stack
#TimeMemoryFunctionLocation
10.0000378344{main}( ).../smartui-progress.php:0
20.0008423992Parsedown->parse( $text = '# SmartUI::print_progress\r\nPrint a single Progress Bar. You can see full HTML documentation [here](general-elements.php)\r\n```php\r\nSmartUI::print_progress($value [, $type = \'\', $options = array(), $return = false]);\r\n```\r\n\r\n## Usage\r\n```php\r\nSmartUI::print_progress(55, \'success\');\r\n```\r\n\r\n## $type\r\n```info```, ```success```, ```danger```, ```warning```\r\n\r\n## $options\r\nOptions available to configure your progress bar\r\n```php\r\n$options_map = array(\r\n \'transitional\' => false,\r\n \'class\' => array(),\r\n \'a'... ).../smartui-progress.php:98
30.0015463224Parsedown->compile( $blocks = [1 => ['name' => 'h1', 'content type' => 'line', 'content' => 'SmartUI::print_progress'], 2 => ['name' => 'p', 'content type' => 'line', 'content' => 'Print a single Progress Bar. You can see full HTML documentation [here](general-elements.php)'], 3 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 4 => ['name' => 'h2', 'content type' => 'line', 'content' => 'Usage'], 5 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 6 => ['name' => 'h2', 'content type' => 'line', 'content' => '$type'], 7 => ['name' => 'p', 'content type' => 'line', 'content' => '```info```, ```success```, ```danger```, ```warning```'], 8 => ['name' => 'h2', 'content type' => 'line', 'content' => '$options'], 9 => ['name' => 'p', 'content type' => 'line', 'content' => 'Options available to configure your progress bar'], 10 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 11 => ['name' => 'h3', 'content type' => 'line', 'content' => '$options[background]'], 12 => ['name' => 'p', 'content type' => 'line', 'content' => '```redLight```, ```greenLight```, etc. Check out ```bg-color-*``` [here](typography.php)'], 13 => ['name' => 'h3', 'content type' => 'line', 'content' => '$options[striped]'], 14 => ['name' => 'p', 'content type' => 'line', 'content' => 'A ```boolean``` or the ```string``` "active" (will set to active stripped progress bar)'], 15 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 16 => ['name' => 'hr', 'content' => NULL], 17 => ['name' => 'h1', 'content type' => 'line', 'content' => 'SmartUI::print_stack_progress'], 18 => ['name' => 'p', 'content type' => 'line', 'content' => 'Print a stacked Progress Bar. You can see full HTML documentation [here](general-elements.php)'], 19 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 20 => ['name' => 'h2', 'content type' => 'line', 'content' => 'Usage'], 21 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 22 => ['name' => 'h2', 'content type' => 'line', 'content' => '$progress_bars'], 23 => ['name' => 'p', 'content type' => 'line', 'content' => 'An ```array``` of progress bar HTML. You can get a progress bar HTML suing ```SmartUI::get_progress($value [, $type = \'\', $options = array()])``` function'], 24 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]], 25 => ['name' => 'h2', 'content type' => 'line', 'content' => '$base_options'], 26 => ['name' => 'p', 'content type' => 'line', 'content' => 'Available options for the progress bar parent'], 27 => ['name' => 'pre', 'content type' => 'blocks', 'content' => [...]]] ).../class.parsedown.php:76
40.0019464504Parsedown->parseLine( $text = '$options[striped]', $markers = ??? ).../class.parsedown.php:900

SmartUI::print_progress

Print a single Progress Bar. You can see full HTML documentation here

SmartUI::print_progress($value [, $type = '', $options = array(), $return = false]);

Usage

SmartUI::print_progress(55, 'success');

$type

info, success, danger, warning

$options

Options available to configure your progress bar

$options_map = array(
    'transitional' => false,
    'class' => array(),
    'attr' => array(),
    'background' => '',
    'tooltip' => array(),
    'position' => 'left', // left, right, bottom (for vertical)
    'wide' => false,
    'size' => 'md', // sm, xs, md, xl, micro
    'striped' => false, // true or 'active'
    'vertical' => false
);

$options[background]

redLight, greenLight, etc. Check out bg-color-* here

$options[striped]

A boolean or the string "active" (will set to active stripped progress bar)

$options = array('striped' => 'active');

SmartUI::print_stack_progress

Print a stacked Progress Bar. You can see full HTML documentation here

SmartUI::print_stack_progress($progress_bars [, $base_options = array(), $return = false])

Usage

$progress_bars = array();
$progress_bars[] = SmartUI::get_progress(80, '', array('background' => 'redLight'));
$progress_bars[] = SmartUI::get_progress(55, 'info');
$progress_bars[] = SmartUI::get_progress(33, 'success');
SmartUI::print_stack_progress($progress_bars, array('size' => 'sm', 'tooltip' => 'Stacked Progress'), true);

$progress_bars

An array of progress bar HTML. You can get a progress bar HTML suing SmartUI::get_progress($value [, $type = '', $options = array()]) function

// initiate an array for progress bars
$progress_bars = array(); 

// get progress bar #1
$progress_bar = SmartUI::get_progress(80, '', array('background' => 'redLight'));
// and so on ...

$base_options

Available options for the progress bar parent

$options_map = array(
    'tooltip' => array(),
    'position' => 'left', // left, right, bottom (for vertical)
    'wide' => false,
    'size' => 'md', // sm, xs, md, xl, micro
    'striped' => false, // true or 'active'
    'vertical' => false
);