|
| $button = $displayData |
|
if(! $button->get('modal')) | $class = ($button->get('class')) ? $button->get('class') : null |
|
| $href = '#' . strtolower($button->get('name')) . '_modal' |
|
| $link = ($button->get('link')) ? Uri::base() . $button->get('link') : null |
|
| $onclick = ($button->get('onclick')) ? ' onclick="' . $button->get('onclick') . '"' : '' |
|
| $title = ($button->get('title')) ? $button->get('title') : $button->get('text') |
|
| $options = is_array($button->get('options')) ? $button->get('options') : array() |
|
| $confirm = '' |
|
if(is_array($button->get('options')) &&isset($options['confirmText']) &&isset($options['confirmCallback'])) if(null !==$button->get('id')) | else |
|