UncleCheese\BetterButtons\Actions\BetterButtonLink

Defines the a button that can contain an arbitrary link, e.g. an external one

Synopsis

class BetterButtonLink extends BetterButtonAction {
  • // members
  • protected  $link;
}

Hierarchy

Members

protected

Methods

public

  • __construct() — Builds the button
  • newWindow() — Makes the link to open to a new tab. If not used, the CMS will try to load the link via an AJAX request, which can cause problems if the link target is not a page inside the CMS.

Inherited from UncleCheese\BetterButtons\Actions\BetterButtonAction

public