public function setActionBar()
    {
        if (is_null($this->actionButtonLabel) && is_null($this->actionButtonModalId)) {
            return;
        }

        $this->getView()->params['content-header-button'] = [
            'label' => $this->actionButtonLabel,
            'options' => [
                'data-toggle' => 'modal',
                'data-target' => $this->actionButtonModalId,
                'href' => $this->actionButtonModalHref ?: '#'
            ]
        ];
    }
public function setActionBar()
    {
        if (is_null($this->actionButtonLabel) && is_null($this->actionButtonModalId)) {
            return;
        }

        $this->getView()->params['content-header-button'] = [
            'label' => $this->actionButtonLabel,
            'options' => [
                'data-toggle' => 'modal',
                'data-target' => $this->actionButtonModalId,
                'href' => $this->actionButtonModalHref ?: '#'
            ]
        ];
    }
public function setActionBar ( ) { if ( is_null ( $ this -> actionButtonLabel ) && is_null ( $ this -> actionButtonModalId ) ) { return ; } $ this -> getView ( ) -> params [ 'content-header-button' ] = [ 'label' => $ this -> actionButtonLabel , 'options' => [ 'data-toggle' => 'modal' , 'data-target' => $ this -> actionButtonModalId , 'href' => $ this -> actionButtonModalHref ? : '#' ] ] ; }
set the Action bar
@author Damilola Olaleye <damilola@cottacush.com>
set the Action bar