| ( ! ) Warning: Uninitialized string offset 0 in /var/www/html/lib/class.parsedown.php on line 1023 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 378344 | {main}( ) | .../smartui-progress.php:0 |
| 2 | 0.0008 | 423992 | Parsedown->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 |
| 3 | 0.0008 | 433504 | Parsedown->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 |
| 4 | 0.0009 | 442248 | Parsedown->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 | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 378344 | {main}( ) | .../smartui-progress.php:0 |
| 2 | 0.0008 | 423992 | Parsedown->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 |
| 3 | 0.0008 | 433504 | Parsedown->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 |
| 4 | 0.0012 | 451880 | Parsedown->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 | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 378344 | {main}( ) | .../smartui-progress.php:0 |
| 2 | 0.0008 | 423992 | Parsedown->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 |
| 3 | 0.0015 | 463224 | Parsedown->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 |
| 4 | 0.0016 | 464248 | Parsedown->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 | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0000 | 378344 | {main}( ) | .../smartui-progress.php:0 |
| 2 | 0.0008 | 423992 | Parsedown->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 |
| 3 | 0.0015 | 463224 | Parsedown->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 |
| 4 | 0.0019 | 464504 | Parsedown->parseLine( $text = '$options[striped]', $markers = ??? ) | .../class.parsedown.php:900 |
Print a single Progress Bar. You can see full HTML documentation here
SmartUI::print_progress($value [, $type = '', $options = array(), $return = false]);
SmartUI::print_progress(55, 'success');
info, success, danger, warning
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
);
redLight, greenLight, etc. Check out bg-color-* here
A boolean or the string "active" (will set to active stripped progress bar)
$options = array('striped' => 'active');
Print a stacked Progress Bar. You can see full HTML documentation here
SmartUI::print_stack_progress($progress_bars [, $base_options = array(), $return = false])
$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);
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 ...
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
);