Example #1
0
 /**
  * Get the link to an action.
  *
  * @param string      $action
  * @param string|null $title
  * @param array       $attributes
  *
  * @return string
  */
 public function getLink($action, $title = null, array $attributes = [])
 {
     $title = $title ?: $this->name;
     return HTML::linkAction($this->getAction($action), $title, $this->getIdentifier(), $attributes);
 }