public function getAttributes() { $attrs = array('data-modal' => true, 'tabindex' => '-1', 'aria-hidden' => true); if (!$this->allowClose) { $attrs['data-backdrop'] = 'static'; } return array_merge(parent::getAttributes(), $attrs, $this->attributes); }
public function getAttributes() { $attrs = array('data-ride' => 'carousel', 'data-interval' => 'false'); return array_merge(parent::getAttributes(), $attrs, $this->attributes); }