Helper/Bootstrap/Addon/Popover.php
public function getPopoverAttributes():array
    {
        if ($this->popover !== null) {
            Component::getJquery()->enablePopovers();
            $attrs = $this->popoverOptions;
            $attrs['data-toggle'] = 'popover';
            $attrs['title'] = $this->popover['title'];
            $attrs['data-content'] = $this->popover['data-content'];
            return $attrs;
        }
        return [];
    }
public function getPopoverAttributes():array
    {
        if ($this->popover !== null) {
            Component::getJquery()->enablePopovers();
            $attrs = $this->popoverOptions;
            $attrs['data-toggle'] = 'popover';
            $attrs['title'] = $this->popover['title'];
            $attrs['data-content'] = $this->popover['data-content'];
            return $attrs;
        }
        return [];
    }
public function getPopoverAttributes ( ) : array { if ( $ this -> popover !== null ) { Component :: getJquery ( ) -> enablePopovers ( ) ; $ attrs = $ this -> popoverOptions ; $ attrs [ 'data-toggle' ] = 'popover' ; $ attrs [ 'title' ] = $ this -> popover [ 'title' ] ; $ attrs [ 'data-content' ] = $ this -> popover [ 'data-content' ] ; return $ attrs ; } return [ ] ; }
Get attributes and active popovers for jquery
@return array
Get attributes and active popovers for jquery