LeKoala\CmsActions\DefaultLink
Create custom links on ModelAdmin
Synopsis
trait DefaultLink
{
- // members
- protected $link;
- protected boolean $newWindow = false;
- // methods
- public string getModelLink()
- public string getControllerLink()
- public void getLink()
- public $this setLink()
- public void getNewWindow()
- public $this setNewWindow()
Hierarchy
Used by
Members
protected
- $link — string
- $newWindow — boolean
Methods
public
- getControllerLink() — Build an url for the current controller and pass along some parameters
- getLink() — Get the value of link
- getModelLink() — Build a url to call an action on current model
- getNewWindow() — Get the value of newWindow
- setLink() — Set the value of link
- setNewWindow() — Set the value of newWindow